diff options
author | root <root@rshg054.dnsready.net> | 2012-09-10 00:03:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-10 00:03:51 +0000 |
commit | 2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 (patch) | |
tree | 851a0ed5423f6dad7e4b532c6a23f0eaf42aea9b /community/pkgfile | |
parent | f393cb99c2cc66d9c323fae18bab2c0dd57ac41f (diff) |
Mon Sep 10 00:03:51 UTC 2012
Diffstat (limited to 'community/pkgfile')
-rw-r--r-- | community/pkgfile/PKGBUILD | 11 | ||||
-rw-r--r-- | community/pkgfile/pkgfile.install | 6 |
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 +} |