summaryrefslogtreecommitdiff
path: root/pcr/pristine-etc-keeper-git/PKGBUILD
blob: 7f7796311a1ddadf234cb189b61f87ba4c529da4 (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.1
_gitver='commit=fd78b9d6b0a374058433a7d378dd8746dd0813c7'
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=('00d1334f7ac393f787a243a5a7353868')

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