summaryrefslogtreecommitdiff
path: root/pcr/pristine-etc-keeper-git/PKGBUILD
blob: f9d2f7d68581aa6e3ec0c727342f6be5cbc726e3 (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=20170131
_gitver='commit=f117c7aac438c4d3219abee57112cdef04258433'
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=('ca87ab50c7cbe55f4bf1c9eb004721d0')

# 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
}