summaryrefslogtreecommitdiffstats
path: root/core/alpine-conf/APKBUILD
blob: 0f836eb720ed2bdcbd4ad8d3d85dfeafa0217c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.0_alpha4
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
source=http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
license="GPL-2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make PREFIX= || return 1
	
	# workaround. fixed in git so this needs to be removed next release
	sed -i -e 's:/usr/share/lbu/libalpine.sh:/lib/libalpine.sh:' lbu

	make install PREFIX= DESTDIR="$pkgdir"
	for i in commit exclude include status update; do
		ln -s lbu "$pkgdir"/sbin/lbu_$i
	done
}
md5sums="8c828f797c85bd411db8fe5b0dfb4765  alpine-conf-2.0_alpha4.tar.bz2"