[arch-commits] Commit in gnubiff/trunk (PKGBUILD gnubiff.install)
Balló György
bgyorgy at archlinux.org
Sun Nov 8 14:12:10 UTC 2015
Date: Sunday, November 8, 2015 @ 15:12:10
Author: bgyorgy
Revision: 146398
upgpkg: gnubiff 2.2.16-1
Update to version 2.2.16
Added:
gnubiff/trunk/gnubiff.install
Modified:
gnubiff/trunk/PKGBUILD
-----------------+
PKGBUILD | 15 ++++++---------
gnubiff.install | 13 +++++++++++++
2 files changed, 19 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-08 07:36:37 UTC (rev 146397)
+++ PKGBUILD 2015-11-08 14:12:10 UTC (rev 146398)
@@ -4,18 +4,18 @@
# Contributor: Todd Musall <tmusall at gmail.com>
pkgname=gnubiff
-pkgver=2.2.15
-pkgrel=3
+pkgver=2.2.16
+pkgrel=1
pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived"
arch=('i686' 'x86_64')
url="http://gnubiff.sourceforge.net/"
license=("GPL")
-depends=('libglade' 'gtk3' 'popt')
-makedepends=('perl-xml-parser' 'intltool')
-conflicts=(gnubiff-gtk)
+depends=('gtk3' 'popt')
+makedepends=('intltool')
source=(http://downloads.sourceforge.net/gnubiff/gnubiff-$pkgver.tar.gz
mutex.patch)
-md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443'
+install=gnubiff.install
+md5sums=('f908510bf3d9b38f883dc5873b09f99c'
'76de63fbc4a1487560cfae210fc1d6e4')
prepare() {
@@ -24,9 +24,7 @@
}
build() {
- [ "$GNOMEDIR" = "" ] && GNOMEDIR=/usr
cd $srcdir/gnubiff-$pkgver
- export LDFLAGS="-lgthread-2.0"
./configure --prefix=/usr --with-password --with-password-string="65423957eb027b94c9e661611c0e4271" \
--disable-fam --disable-gnome
make
@@ -35,5 +33,4 @@
package() {
cd $srcdir/gnubiff-$pkgver
make DESTDIR=$pkgdir install
- rm -rf ${pkgdir}/usr/share/info/dir
}
Added: gnubiff.install
===================================================================
--- gnubiff.install (rev 0)
+++ gnubiff.install 2015-11-08 14:12:10 UTC (rev 146398)
@@ -0,0 +1,13 @@
+infodir=usr/share/info
+
+post_install() {
+ install-info $infodir/gnubiff.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post-install
+}
+
+pre_remove() {
+ install-info --delete $infodir/gnubiff.info.gz $infodir/dir 2> /dev/null
+}
More information about the arch-commits
mailing list