summaryrefslogtreecommitdiff
path: root/pcr/pristine-etc-keeper-git/PKGBUILD
blob: f40e3cfff25316ceebe585e4da150d521ddaa153 (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
27
28
29
30
31
32
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

_pkgname=pristine-etc-keeper
pkgname=$_pkgname-git
pkgver=20170128
_gitver='commit=78705062cfd1a17db1ef994ee6c48925060c6f29'
url=https://git.parabola.nu/~lukeshu/$_pkgname.git
license=('WTFPL')

provides=($_pkgname)
conflicts=($_pkgname)

pkgrel=1
arch=(any)
depends=(etckeeper)
optdepends=('holo-files: For holo-files integration')
backup=(
	'etc/etckeeper/pristine/fill'
	'etc/etckeeper/pristine/drain'
)
source=(https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('a4957597192a5f4ba5adc87165395d67')

# 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#$_gitver")
mkmd5sums=('SKIP')

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make install DESTDIR="$pkgdir"
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}