summaryrefslogtreecommitdiff
path: root/pcr/pristine-etc-keeper/PKGBUILD
blob: 33e2bd3dfd34b18eb3abbad4f6e3956faf2e3ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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=2
arch=(any)
depends=(etckeeper)
provides=($_pkgname)
conflicts=($_pkgname)
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
}