diff options
Diffstat (limited to 'main/gnats')
-rw-r--r-- | main/gnats/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/main/gnats/APKBUILD b/main/gnats/APKBUILD index befad8edba..8ada4c07b9 100644 --- a/main/gnats/APKBUILD +++ b/main/gnats/APKBUILD @@ -1,22 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnats pkgver=4.1.0 -pkgrel=4 +pkgrel=5 pkgdesc="The GNU Bug Tracking System" url="http://www.gnu.org/software/gnats/" arch="all" license="GPL-2" depends="postfix" makedepends="texinfo" -install="gnats.pre-install" +install= source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz - $install" + gnats.pre-install" subpackages="$pkgname-doc" +options=suid + build() { cd "$srcdir/$pkgname-$pkgver" # make install needs gnats user - sudo sh $srcdir/$install pre_install || return 1 + sudo sh $srcdir/gnats.pre-install pre_install || return 1 AWK=awk ./configure \ --build=$CBUILD \ @@ -29,6 +31,9 @@ build() { || return 1 make || return 1 +} +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install rm -f "$pkgdir"/gnats.el } |