summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2015-06-13 17:59:17 +0200
committerMuflone2015-06-13 17:59:17 +0200
commit0e02e34883eb953b3780f1952a7d854245f309a6 (patch)
treec8c1442de2fde3963904ba7d54db9316afe48daf
downloadaur-fragview-git.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD40
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..284f86f49df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = fragview-git
+ pkgdesc = Analyze disk content and files fragmentation by displaying its map
+ pkgver = 0.1.16.gaf55f55
+ pkgrel = 1
+ url = https://github.com/i-rinat/fragview
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = boost
+ makedepends = sqlite
+ makedepends = cmake
+ depends = gtkmm3
+ optdepends = sqlite: to open fragmentator.db databases created by fragdb
+ source = git://github.com/i-rinat/fragview.git
+ md5sums = SKIP
+
+pkgname = fragview-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..780bf08d0b1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: sergej
+
+pkgname=fragview-git
+_gitname=fragview
+pkgver=0.1.16.gaf55f55
+pkgrel=1
+pkgdesc="Analyze disk content and files fragmentation by displaying its map"
+arch=('i686' 'x86_64')
+url="https://github.com/i-rinat/fragview"
+license=('MIT')
+depends=('gtkmm3')
+makedepends=('git' 'boost' 'sqlite' 'cmake')
+optdepends=('sqlite: to open fragmentator.db databases created by fragdb')
+source=('git://github.com/i-rinat/fragview.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ git describe --always | sed 's|-|.|g' | sed 's|^v||'
+}
+
+build() {
+ cd "${_gitname}"
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" .
+ make
+}
+
+package() {
+ cd "${srcdir}/${_gitname}"
+ make DESTDIR="${pkgdir}" install
+
+ # Add documentation file
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ install -m 0644 -t "${pkgdir}/usr/share/doc/${pkgname}" "README.md"
+
+ # Add license file
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 0644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE.MIT"
+}