summaryrefslogtreecommitdiff
path: root/community/expac
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/expac
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/expac')
-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