summaryrefslogtreecommitdiff
path: root/community/pkgtools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pkgtools/PKGBUILD')
-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: