diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2011-07-05 19:40:43 +0200 |
---|---|---|
committer | Fabian Affolter <fabian@bernewireless.net> | 2011-07-05 19:40:43 +0200 |
commit | 7f9851115264bca9bce3926ddb29e533a23929dd (patch) | |
tree | b0426fc489e4dad582f34b25d6f93354a65f5c0f /main/abuild/APKBUILD | |
parent | 5dac3f219058736f6e19b7bec2b1cc2b1b300981 (diff) | |
parent | 269fc1049583d36e07153215fe535f88947ea98b (diff) | |
download | aports-7f9851115264bca9bce3926ddb29e533a23929dd.tar.bz2 aports-7f9851115264bca9bce3926ddb29e533a23929dd.tar.xz |
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'main/abuild/APKBUILD')
-rw-r--r-- | main/abuild/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD new file mode 100644 index 0000000000..91df1371fc --- /dev/null +++ b/main/abuild/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgdesc="Script to build Alpine Packages" +pkgname=abuild +pkgver=2.9.2 +pkgrel=2 +url=http://git.alpinelinux.org/cgit/abuild/ +source="http://git.alpinelinux.org/cgit/abuild.git/snapshot/abuild-$pkgver.tar.bz2 + 0001-abuild-reset-triggers-for-subpackages.patch + " +depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1 uclibc-utils abuildhelper" +makedepends="openssl-dev pkgconfig" +install="$pkgname.pre-install $pkgname.pre-upgrade" +pkggroups="abuild" +arch="all" +license=GPL-2 + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + for i in $source; do + case $i in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install DESTDIR="$pkgdir" + install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf + install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles +} + +md5sums="49817d627e9e93455f74b2fa5bb3d66d abuild-2.9.2.tar.bz2 +6e8581db0e79e1f4364b7c846f2d6a17 0001-abuild-reset-triggers-for-subpackages.patch" |