summaryrefslogtreecommitdiff
path: root/community/gtkdialog/PKGBUILD
blob: eb8b9cb321b7f0d7f83ff5c9a0c93b430d078b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 76857 2012-10-01 14:34:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: dojo <joerg.doll[at]gmx.de>

pkgname=gtkdialog
pkgver=0.8.2
pkgrel=1
pkgdesc="Gtkdialog is a small utility for fast and easy GUI building."
arch=('i686' 'x86_64')
#url="http://linux.pte.hu/~pipas/gtkdialog/"
url="http://code.google.com/p/gtkdialog/"
license=("GPL")
makedepends=('pkgconfig')
depends=('gtk2' 'libglade')
install=gtkdialog.install
options=('zipman')
source=(http://gtkdialog.googlecode.com/files/gtkdialog-$pkgver.tar.gz)
md5sums=('4038a04f4ff78ca7b7e52e998754c8c2')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir UPDATE_ICON_CACHE=true install
  rm -f $pkgdir/usr/share/info/dir
  mkdir -p $pkgdir/usr/share/doc/$pkgname
  cp -a examples $pkgdir/usr/share/doc/$pkgname/examples
}