summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/pristine-etc-keeper/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/pristine-etc-keeper/PKGBUILD b/pcr/pristine-etc-keeper/PKGBUILD
new file mode 100644
index 000000000..1de7673d6
--- /dev/null
+++ b/pcr/pristine-etc-keeper/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=pristine-etc-keeper
+pkgname=$_pkgname-git
+pkgver=20160709
+_gitver=9cf1003310cf511a571d8491bedbf3f9b177aa37
+url=https://git.parabola.nu/~lukeshu/$_pkgname.git
+license=('WTFPL')
+
+pkgrel=1
+arch=(any)
+depends=(etckeeper)
+source=(https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('38984920094d40a678010dab4a3a7408')
+
+# 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
+}