summaryrefslogtreecommitdiff
path: root/pcr/pristine-etc-keeper-git/PKGBUILD
blob: bfa7b703e9f991afb4b3a1420407e53a9d58d084 (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=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
}