summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfrederik2015-06-09 14:20:00 +0200
committerfrederik2015-06-09 14:20:00 +0200
commita2b345a10282c227f69f2a0be8cf56cc1e460c68 (patch)
tree96cabd4b10d66de1b054ab966ec537b5e28fd0b6 /PKGBUILD
downloadaur-a2b345a10282c227f69f2a0be8cf56cc1e460c68.tar.gz
Initial commit: move from aur to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7cc3c54eb4a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com>
+
+pkgname=duperemove-git
+pkgver=300.da5f1db
+pkgrel=1
+pkgdesc="Btrfs extent deduplication utility"
+arch=('any')
+url="https://github.com/markfasheh/duperemove"
+license=('GPL')
+depends=('glib2' 'sqlite')
+makedepends=('git')
+conflicts=('duperemove')
+source=("$pkgname"::'git://github.com/markfasheh/duperemove.git#branch=master')
+md5sums=( 'SKIP' )
+
+pkgver() {
+ cd ${pkgname}
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname
+ install -Dm755 ./duperemove $pkgdir/usr/bin/duperemove
+ install -Dm644 ./duperemove.8 $pkgdir/usr/share/man/man8/duperemove.8
+}