summaryrefslogtreecommitdiff
path: root/community/expac/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-19 10:10:33 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-19 10:10:33 -0300
commit9e30cea6b8a2e90fd8958ca1f773e3a382179763 (patch)
tree7ce1eda16c69a04998d595f3bfcccf9a65489327 /community/expac/PKGBUILD
parent503317d2f4cb14793d90cca90822975c41e8c0a1 (diff)
parent858daf289b238f4aa3190656635fc354ddd2bce9 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Conflicts: social/sobby/PKGBUILD ~fauno/kyotocabinet/PKGBUILD ~fauno/kyototycoon/PKGBUILD
Diffstat (limited to 'community/expac/PKGBUILD')
-rw-r--r--community/expac/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/expac/PKGBUILD b/community/expac/PKGBUILD
index b767fc161..2dd454fff 100644
--- a/community/expac/PKGBUILD
+++ b/community/expac/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 68721 2012-04-01 00:18:57Z dreisner $
+# $Id: PKGBUILD 80201 2012-11-17 15:05:30Z dreisner $
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=expac
pkgver=1
-pkgrel=1
+pkgrel=2
pkgdesc="pacman database extraction utility"
arch=('i686' 'x86_64' 'mips64el')
url="http://github.com/falconindy/expac"
@@ -15,10 +15,13 @@ md5sums=('be8348f18e6af9db250437b14a91e443')
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