summaryrefslogtreecommitdiff
path: root/community/pkgtools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-10 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-09-10 23:14:36 +0000
commit1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (patch)
tree25b059dc89bbd5f44377c1df6f612cf6556a6076 /community/pkgtools
parent42db4a0cf3a829fcd1bc2150669c6aa3c2984815 (diff)
Sat Sep 10 23:14:36 UTC 2011
Diffstat (limited to 'community/pkgtools')
-rw-r--r--community/pkgtools/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/community/pkgtools/PKGBUILD b/community/pkgtools/PKGBUILD
index fc69319c4..4acf5b01d 100644
--- a/community/pkgtools/PKGBUILD
+++ b/community/pkgtools/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
pkgname=pkgtools
pkgver=23
-pkgrel=1
+pkgrel=2
pkgdesc="A collection of scripts for Arch Linux packages"
arch=('i686' 'x86_64')
url="http://bbs.archlinux.org/viewtopic.php?pid=384196"
@@ -22,7 +22,15 @@ build() {
cd "$srcdir/Daenyth-$pkgname"-*
make
+}
+
+package() {
+ cd "$srcdir/Daenyth-$pkgname"-*
+
make DESTDIR="$pkgdir" install
+
+ # fix infinite loop in autotools configure scripts
+ sed -i '/export -f command_not_found_handle/d' "$pkgdir/usr/share/pkgtools/pkgfile-hook.bash"
}
# vim:set ts=2 sw=2 et: