summaryrefslogtreecommitdiff
path: root/community/pkgfile/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/pkgfile/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/pkgfile/PKGBUILD')
-rw-r--r--community/pkgfile/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/community/pkgfile/PKGBUILD b/community/pkgfile/PKGBUILD
index ecaea96b8..486a2381d 100644
--- a/community/pkgfile/PKGBUILD
+++ b/community/pkgfile/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 76836 2012-10-01 01:25:40Z dreisner $
+# $Id: PKGBUILD 80220 2012-11-17 22:28:33Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=pkgfile
-pkgver=6
+pkgver=7
pkgrel=1
pkgdesc="a pacman .files metadata explorer"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,17 +13,23 @@ conflicts=('pkgtools<24-2')
makedepends=('perl')
source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
install=pkgfile.install
-md5sums=('75139dd8441d60ee7682d900b610e189'
- '75cca8e3c0198fa98e32b54fd5e936e6')
+md5sums=('f1dc0052b1c21597ea2fa0f0ce05608c'
+ '28599a9b6e56860a9cba1c95ec797551')
build() {
cd "$pkgname-$pkgver"
./configure
make
+
+ # generate a license file
+ sed '/\*\//q' src/pkgfile.c >LICENSE
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ft=sh syn=sh