summaryrefslogtreecommitdiff
path: root/community-testing/pkgtools/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-06 09:54:55 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-06 09:54:55 -0300
commit60f323f25d2c0addbce5832ffbda060b0410d14f (patch)
tree644b9212e37f1a63dcef3977159033dee2f04392 /community-testing/pkgtools/PKGBUILD
parent9e2eedaa4921b8d57c364fb3e2a8c9e2e96b8e69 (diff)
parent817e58c278cb8ebee7743205877d0f67c431fcec (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/inetutils/PKGBUILD extra/audacious/PKGBUILD extra/cvs/PKGBUILD kde-unstable/libkipi/PKGBUILD libre/linux-libre/PKGBUILD libre/mplayer-vaapi-libre/PKGBUILD libre/pacman/PKGBUILD libre/psutils-libre/PKGBUILD libre/texlive-bin-libre/PKGBUILD staging/kdebase-runtime/PKGBUILD
Diffstat (limited to 'community-testing/pkgtools/PKGBUILD')
-rw-r--r--community-testing/pkgtools/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community-testing/pkgtools/PKGBUILD b/community-testing/pkgtools/PKGBUILD
new file mode 100644
index 000000000..922bb5fa3
--- /dev/null
+++ b/community-testing/pkgtools/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
+# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
+pkgname=pkgtools
+pkgver=23
+pkgrel=3
+pkgdesc="A collection of scripts for Arch Linux packages"
+arch=('i686' 'x86_64')
+url="http://bbs.archlinux.org/viewtopic.php?pid=384196"
+license=('GPL')
+source=(v$pkgver::http://github.com/Daenyth/pkgtools/tarball/v$pkgver)
+backup=('etc/pkgtools/newpkg.conf' 'etc/pkgtools/pkgfile.conf' 'etc/pkgtools/spec2arch.conf')
+install=pkgtools.install
+provides=(newpkg pkgfile)
+depends=('bash>=4' 'pcre' 'libarchive' 'python')
+optdepends=('cron: For pkgfile --update entry'
+ 'abs: Provides proto packaging files for newpkg'
+ 'python-yaml: for gem2arch'
+ 'python2: for pkgconflict')
+md5sums=('5361111e31741f8d7ff8ca45c7996b6b')
+
+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: