aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 283f13964cd4d2f28e28b90a94ec4bc06446766e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.11.0
pkgrel=1
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
	"

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="589278b8c4b4e87a670edda11292e93b27e21f0471749ee2e788bf620e6e957249ea1d80f44fed2600a6ed8d7943179dc2e21cd55ddcfbd8913359d0f590eb05  alpine-conf-3.11.0.tar.gz
00ad34bdce80c716396c613b25346e23c7747b9084de0f88c2a099e5829f612b15e0a5584d139c66947907c8fbee88359979a4bea292ab5b96db4d6c2796d455  0001-update-kernel-use-nopad-Xbcj-for-modloop.patch"