summaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: aa65754961a43d034e53e3241bb50a27d53f3484 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.0_rc3
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
	0001-setup-alpine-add-the-hostname-to-etc-hosts.patch
	"
license="GPL-2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 -i ../0001-setup-alpine-add-the-hostname-to-etc-hosts.patch \
		|| return 1

	make || return 1
	make install PREFIX= DESTDIR="$pkgdir"
	for i in commit exclude include status update; do
		ln -s lbu "$pkgdir"/sbin/lbu_$i
	done
}
md5sums="54810ee972f0d9c9a992f706af8feb43  alpine-conf-2.0_rc3.tar.bz2
c91b9ca722dfbb479e0739d905211f94  0001-setup-alpine-add-the-hostname-to-etc-hosts.patch"