aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: f53f4abfe0ed3165f8822553f81cf9a004187ec2 (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
33
34
35
36
37
38
39
40
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.5.0_rc1
pkgrel=2
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
arch="all"
license="MIT"
depends="openrc>0.13"
source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz
	0001-update-kernel-make-mksquashfs-exit-on-error.patch
	0002-update-kernel-don-t-install-deps-if-script-runs-in-f.patch
	0003-update-kernel-re-exec-under-fakeroot-unless-we-are-s.patch
	"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	make VERSION=$pkgver-r$pkgrel || return 1
}

package() {
	cd "$_builddir"
	make install PREFIX= DESTDIR="$pkgdir" || return 1
	for i in commit exclude include status update; do
		ln -s lbu "$pkgdir"/sbin/lbu_$i
	done
}

md5sums="41e9c47129275bee279170afa7c25925  alpine-conf-3.5.0_rc1.tar.xz
66238028becd1a648780a7522a71a169  0001-update-kernel-make-mksquashfs-exit-on-error.patch
e85a35805f18a130e1dcba998356e9ca  0002-update-kernel-don-t-install-deps-if-script-runs-in-f.patch
eb6c5e86ae571d8fc70a65bbcf947525  0003-update-kernel-re-exec-under-fakeroot-unless-we-are-s.patch"
sha256sums="d93733e2dd630fc5627ec1eb71a71f633bcda7c75f3b65593542dc0a756bd580  alpine-conf-3.5.0_rc1.tar.xz
8623350fff0f9456137341209172fe1d139035d42d01f16b90a5f6dceadb5d54  0001-update-kernel-make-mksquashfs-exit-on-error.patch
9089418ca27148a33ba39b601d0b2c7808cc8315cebcb017583bfa8e80edbe2c  0002-update-kernel-don-t-install-deps-if-script-runs-in-f.patch
661534c6828e4cca9398bb74563d51b7661b028241cdcac717614354779ad9ce  0003-update-kernel-re-exec-under-fakeroot-unless-we-are-s.patch"
sha512sums="9b77085ba719bdcfc9f9b186636f1724528270eed29e8e266fa947c91e4ee86e6253405c73b59a7977763da6e85089b57a80fd09457120a8394f5d1c786bf29b  alpine-conf-3.5.0_rc1.tar.xz
62af2f385a8431696fefb1206e37624605cbab998c59691490ac14435e1487b6a745e678ea8a760ff5c322c6349479def18b25fed6783a802875785f366a6279  0001-update-kernel-make-mksquashfs-exit-on-error.patch
6b08fd7d2703c26d1353022484793597d20b927a37c886ec87e82c4661bf7f562e3a48007a1d659953ec06530355a9f31072923f7160bf4e1999c6a550cf19d6  0002-update-kernel-don-t-install-deps-if-script-runs-in-f.patch
4ff581357e9d03431f5c45ed9badac51cce23e5f9241230ac2d48b6ba6823129c293577f4030b6c8fcb036d7a6fb5830f3b9e10b1dd0228179d1232d0ea3fca3  0003-update-kernel-re-exec-under-fakeroot-unless-we-are-s.patch"