From dfb6d60782a42653cdbb68b0db7fd4381aae99c1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 30 Oct 2013 11:30:02 +0000 Subject: main/alpine-conf: update license tag and prepare section --- main/alpine-conf/APKBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'main') diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD index d78712d8f..a0811a7c8 100644 --- a/main/alpine-conf/APKBUILD +++ b/main/alpine-conf/APKBUILD @@ -1,25 +1,22 @@ # Maintainer: Natanael Copa pkgname=alpine-conf pkgver=2.14.0 -pkgrel=0 +pkgrel=1 pkgdesc="Alpine configuration management scripts" url=http://git.alpinelinux.org/cgit/$pkgname +arch="all" +license="GPL2" depends="openrc" source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz " -arch="all" -license="GPL-2" - _builddir="$srcdir"/$pkgname-$pkgver prepare() { + local i cd "$_builddir" for i in $source; do case $i in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } @@ -31,11 +28,12 @@ build() { package() { cd "$_builddir" - make install PREFIX= DESTDIR="$pkgdir" + 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="94b82dd9d7a2c63aa6909238da3b44b3 alpine-conf-2.14.0.tar.xz" sha256sums="14dc81845b16ffcbb39af9d0c5aeffab68166eec154c822b7c1c9c0697823d5b alpine-conf-2.14.0.tar.xz" sha512sums="39aa74e676221475ce088d82b134563c3dd04a69e90919089d3876b6a4715f6df58aa156352a40d9f817414cbdb603350a3e9c15914fb254a24d8cef4acd6581 alpine-conf-2.14.0.tar.xz" -- cgit v1.2.3