Skip to content
Snippets Groups Projects
Commit 042a94e3 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/abuild: create /var/cache/distfiles dir and abuild group

parent fe577d2a
No related merge requests found
......@@ -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
......
#!/bin/sh
if ! getent group abuild >/dev/null then
addgroup -S abuild
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment