summaryrefslogtreecommitdiff
path: root/community/pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'community/pkgfile')
-rw-r--r--community/pkgfile/PKGBUILD11
-rw-r--r--community/pkgfile/pkgfile.install6
2 files changed, 12 insertions, 5 deletions
diff --git a/community/pkgfile/PKGBUILD b/community/pkgfile/PKGBUILD
index 7aff4d66f..b43c3719a 100644
--- a/community/pkgfile/PKGBUILD
+++ b/community/pkgfile/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 75830 2012-09-02 00:43:15Z dreisner $
+# $Id: PKGBUILD 76000 2012-09-08 16:02:52Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=pkgfile
-pkgver=4
-pkgrel=1
+pkgver=5
+pkgrel=2
pkgdesc="a pacman .files metadata explorer"
arch=('i686' 'x86_64')
url="http://github.com/falconindy/pkgfile"
@@ -11,9 +11,10 @@ license=('MIT')
depends=('libarchive' 'curl' 'pcre' 'pacman')
conflicts=('pkgtools<24-2')
makedepends=('perl')
-source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz")
+source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
install=pkgfile.install
-md5sums=('2570c69372645d2463979c7227a0a63d')
+md5sums=('87e75949ca4ed9d60cc2dfdca9dd1a04'
+ '14d174d2fe0b8e0a43392c2b4ec48a7a')
build() {
cd "$pkgname-$pkgver"
diff --git a/community/pkgfile/pkgfile.install b/community/pkgfile/pkgfile.install
index 358507c55..5545a3d39 100644
--- a/community/pkgfile/pkgfile.install
+++ b/community/pkgfile/pkgfile.install
@@ -10,3 +10,9 @@ post_remove() {
printf "==> /var/cache/pkgfile has not been removed\n"
fi
}
+
+post_upgrade() {
+ if [ "$(vercmp 5 "$2")" -eq 1 ]; then
+ printf "==> DB format has changed. Please run pkgfile -uu\n"
+ fi
+}