summaryrefslogtreecommitdiff
path: root/community/expac/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/expac/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/expac/PKGBUILD')
-rw-r--r--community/expac/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/expac/PKGBUILD b/community/expac/PKGBUILD
new file mode 100644
index 000000000..cf31567ba
--- /dev/null
+++ b/community/expac/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 87648 2013-04-05 00:19:21Z dreisner $
+# Maintainer: Dave Reisner <d@falconindy.com>
+
+pkgname=expac
+pkgver=2
+pkgrel=1
+pkgdesc="pacman database extraction utility"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/expac"
+license=('GPL')
+depends=('pacman')
+makedepends=('perl')
+source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+md5sums=('41a65f51009e44689bd5320f5c3aa7d4'
+ 'SKIP')
+
+build() {
+ make -C "$pkgname-$pkgver"
+
+ sed '/\*\//q' "$pkgname-$pkgver"/expac.c >LICENSE
+}
+
+package() {
+ make -C "$pkgname-$pkgver" PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh