summaryrefslogtreecommitdiff
path: root/pcr/pristine-etc-keeper-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/pristine-etc-keeper-git/PKGBUILD')
-rw-r--r--pcr/pristine-etc-keeper-git/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/pristine-etc-keeper-git/PKGBUILD b/pcr/pristine-etc-keeper-git/PKGBUILD
new file mode 100644
index 000000000..bfa7b703e
--- /dev/null
+++ b/pcr/pristine-etc-keeper-git/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=pristine-etc-keeper
+pkgname=$_pkgname-git
+pkgver=20160713
+_gitver=4bd021e3327a454ff8d36b572932dfd2c8ee0249
+url=https://git.parabola.nu/~lukeshu/$_pkgname.git
+license=('WTFPL')
+
+pkgrel=2
+arch=(any)
+depends=(etckeeper)
+provides=($_pkgname)
+conflicts=($_pkgname)
+source=(https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('fa98f0cb7c71c43851b792b12d0bcdeb')
+
+# git:// is broken for user repos on git.parabola.nu right now
+mksource=("$pkgname-$pkgver::git+https://git.parabola.nu/~lukeshu/pristine-etc-keeper.git#commit=$_gitver")
+mkmd5sums=('SKIP')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}