aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-30 11:30:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:07:11 +0000
commitdfb6d60782a42653cdbb68b0db7fd4381aae99c1 (patch)
treedfd57fb6fd607f90178c9fbd7d97b589599031de /main/alpine-conf
parent861445c4ca4d56a0b78a7793de82e086e36a759c (diff)
downloadaports-dfb6d60782a42653cdbb68b0db7fd4381aae99c1.tar.bz2
aports-dfb6d60782a42653cdbb68b0db7fd4381aae99c1.tar.xz
main/alpine-conf: update license tag and prepare section
Diffstat (limited to 'main/alpine-conf')
-rw-r--r--main/alpine-conf/APKBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index d78712d8f5..a0811a7c87 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,25 +1,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"