aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 26820697819118116fbf77c0d6b1fa0db0bfeac0 (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
25
26
27
28
29
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.11.0
pkgrel=2
pkgdesc="Alpine configuration management scripts"
url="https://git.alpinelinux.org/alpine-conf/about"
arch="all"
license="MIT"
depends="openrc>=0.24.1-r6 busybox>=1.26.1-r3"
source="https://gitlab.alpinelinux.org/alpine/alpine-conf/-/archive/$pkgver/alpine-conf-$pkgver.tar.gz
	0001-update-kernel-use-nopad-Xbcj-for-modloop.patch
	0001-update-kernel-remove-nopad.patch
	"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make VERSION=$pkgver-r$pkgrel
}

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

sha512sums="3fc373836aa30a2193d76d2cccc50dddb95c21e1f3530bf0b841a815161fea287b9bbb1370d2d2616615448df7fa5791328e59903cf87907477846758c689c38  alpine-conf-3.11.0.tar.gz
00ad34bdce80c716396c613b25346e23c7747b9084de0f88c2a099e5829f612b15e0a5584d139c66947907c8fbee88359979a4bea292ab5b96db4d6c2796d455  0001-update-kernel-use-nopad-Xbcj-for-modloop.patch
c40169cc063235e09a8e3d03670e6ad19a941c58939dd9ecff6aad1781dfc7be3e19d6f23861c854dc1434282275325933eaff8bcdc54c5b08fcd53a1f4ea52b  0001-update-kernel-remove-nopad.patch"