diff options
Diffstat (limited to 'community/gtkdialog/PKGBUILD')
-rw-r--r-- | community/gtkdialog/PKGBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/gtkdialog/PKGBUILD b/community/gtkdialog/PKGBUILD index a3fcd3cae..f9f22c351 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 <pupykin.s+arch@gmail.com> # Contributor: dojo <joerg.doll[at]gmx.de> 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' 'mips64el') 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* } |