diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-10 13:31:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-10 13:33:34 +0000 |
commit | 042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa (patch) | |
tree | ed5afa9123c98de573f7f0363759f5496e64cc0f /main/abuild | |
parent | fe577d2a1f5812b76440fefdf42448b6058d6bd0 (diff) | |
download | aports-042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa.tar.bz2 aports-042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa.tar.xz |
main/abuild: create /var/cache/distfiles dir and abuild group
Diffstat (limited to 'main/abuild')
-rw-r--r-- | main/abuild/APKBUILD | 5 | ||||
-rw-r--r-- | main/abuild/abuild.pre-install | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD index dd10cd1771..4c55a07dae 100644 --- a/main/abuild/APKBUILD +++ b/main/abuild/APKBUILD @@ -2,13 +2,15 @@ pkgdesc="Script to build Alpine Packages" pkgname=abuild pkgver=2.7 -pkgrel=1 +pkgrel=2 url=http://git.alpinelinux.org/cgit/abuild/ source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2 0001-abuild-only-warn-when-we-think-there-should-have-bee.patch " depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1" makedepends="openssl-dev pkgconfig" +install="$pkgname.pre-install" +pkggroups="abuild" arch="all" license=GPL-2 @@ -33,6 +35,7 @@ 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="e6f5e18956d95e75da22adce128b2d52 abuild-2.7.tar.bz2 diff --git a/main/abuild/abuild.pre-install b/main/abuild/abuild.pre-install new file mode 100644 index 0000000000..196ac7a9d5 --- /dev/null +++ b/main/abuild/abuild.pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +if ! getent group abuild >/dev/null then + addgroup -S abuild +fi +exit 0 |