aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
blob: 50bdacb57d23deedab9a399224bc48cb367be027 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.3.2
pkgrel=1
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-alpine-cron-service-was-renamed-to-crond.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="4b3a449af554d95b1b2d8c7f58849741  alpine-conf-3.3.2.tar.xz
7ba0188d9a957f3fba3d7836760cccc7  0001-setup-alpine-cron-service-was-renamed-to-crond.patch"
sha256sums="8875061df0ae18539b45307680f46f0441589c8b4a0e5a19ef5cb4eff9fa294f  alpine-conf-3.3.2.tar.xz
8f2d333bde574ab4b738136ade22cb56eba3a2c4d24bcf30dc897022ae873e09  0001-setup-alpine-cron-service-was-renamed-to-crond.patch"
sha512sums="e8335a47f21ca78adfda0f01e7f000015a2ecbff3f1eb965d4139c1e8784d2894716655b9d0de7c7c8abb306128838ae13c62aec87738132c44a410addd26141  alpine-conf-3.3.2.tar.xz
8d553608e4f024991dbe61afddac6d35dd78a27c10c8cb55a68f80676c4895cf8984267e0f612eba07e5d45bfaf3a170d23ccdb8bf8af9b875f5bd35cba51252  0001-setup-alpine-cron-service-was-renamed-to-crond.patch"