aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 53441df1361c31f43d96e44e5cc0f119cac67533 (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.4.0
pkgrel=3
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-setup-disk-don-t-install-syslinux-for-data-only.patch
	0001-setup-alpine-fix-openrc-warning.patch
	0001-setup-disk-only-restart-syslog-if-its-already-runnin.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="4bea789ad26d94e9df8684fa8f01cbee  alpine-conf-3.4.0.tar.xz
aee178615c62bd51a468415b20ade309  0001-setup-disk-don-t-install-syslinux-for-data-only.patch
393cb82aac7004fb887cb84ea0a1cae6  0001-setup-alpine-fix-openrc-warning.patch
b3d2c995c98c287522d8ea2b304bd920  0001-setup-disk-only-restart-syslog-if-its-already-runnin.patch"
sha256sums="4f66c10aa7834f60ce5697487d6d8c47780bc954aa443976d957b4e8bbbfa61e  alpine-conf-3.4.0.tar.xz
23c0e2c18cbb1c374d966cdf645ed74ea9ba59e7f1b98fe0e9696d79dfeb2d2f  0001-setup-disk-don-t-install-syslinux-for-data-only.patch
52e62958a4ddd5828387003a497a0bc1fb93e3b9fbf14c78be30fcb50d704c3e  0001-setup-alpine-fix-openrc-warning.patch
8c42769e7644981b635496b8f5e8f217cb95a2a9b8798d3ead65ac88581b7d8e  0001-setup-disk-only-restart-syslog-if-its-already-runnin.patch"
sha512sums="c652dfc0660f7483a10342cd2f374ec60b4329448476fad5bc93b5b31501529e08062d25248b5f4792643252b18cacb430273c08a3e0b7b901104f414733cb75  alpine-conf-3.4.0.tar.xz
408d6590030432c5173266db6038471f697578091954a2accc2f4778fad3b56484eb7caf40d566f1fb7a8a6db1f57a35ac4c0f5faec53604fb2852aa2dd13497  0001-setup-disk-don-t-install-syslinux-for-data-only.patch
76129a435374a490480b5686d7577e19a9d3b088091104c30efe1aae3ff57b38c592fe11c9a6feaa66c9c9fab5ec7fa89f94e44810150e87b42c8594eea9e5d0  0001-setup-alpine-fix-openrc-warning.patch
d5867474db27b5da460902f6affb21cdbc626b702b1f6c222aa1c3b3e42bc1a1341cc3b5824fc2966ab6b10630363ed808e0043fbbb02bca2264658f8207ae06  0001-setup-disk-only-restart-syslog-if-its-already-runnin.patch"