aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 510d0849ec39b5a4d7d35020834725f19f90ae19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.0_beta5
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-acf-fix-password-generation.patch
	"
license="GPL-2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 -i ../0001-setup-acf-fix-password-generation.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="92e6d2fee0c183c873627c2261d13845  alpine-conf-2.0_beta5.tar.bz2
99d5a1c2386e35a1b5443e3b3d8a1157  0001-setup-acf-fix-password-generation.patch"