From fe6dc99352fe2b801d251e55b2b8baa71441908e Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 May 2011 22:35:21 +0000 Subject: Sat May 7 22:35:21 UTC 2011 --- community/gtkdialog/PKGBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'community/gtkdialog') diff --git a/community/gtkdialog/PKGBUILD b/community/gtkdialog/PKGBUILD index 920dfd8a6..44b08cfcd 100644 --- a/community/gtkdialog/PKGBUILD +++ b/community/gtkdialog/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 20469 2010-07-08 11:18:34Z spupykin $ +# $Id: PKGBUILD 46378 2011-05-06 10:48:04Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: dojo pkgname=gtkdialog pkgver=0.7.20 -pkgrel=2 +pkgrel=3 pkgdesc="Gtkdialog is a small utility for fast and easy GUI building." arch=('i686' 'x86_64') url="http://linux.pte.hu/~pipas/gtkdialog/" @@ -12,6 +12,7 @@ license=("GPL") makedepends=('pkgconfig') depends=('gtk2' 'libglade') install=gtkdialog.install +options=('zipman') source=(ftp://linux.pte.hu/pub/gtkdialog/$pkgname-$pkgver.tar.gz build-fix.patch) md5sums=('597103b3ec575dd7af9e84931a62c532' @@ -21,6 +22,14 @@ build() { cd $srcdir/$pkgname-$pkgver patch -p1 <$srcdir/build-fix.patch ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info - make || return 1 + make +} + +package() { + cd $srcdir/$pkgname-$pkgver make prefix=$pkgdir/usr install + install -Dm0644 doc/gtkdialog.info $pkgdir/usr/share/info/gtkdialog.info + mkdir -p $pkgdir/usr/share/doc/$pkgname + cp -a examples $pkgdir/usr/share/doc/$pkgname/examples + rm -f $pkgdir/usr/share/doc/$pkgname/examples/Makefile* } -- cgit v1.2.3-54-g00ecf