summaryrefslogtreecommitdiff
path: root/community/gtkdialog/PKGBUILD
blob: 98398f1cf4fe12c93462dbce8e7f08bcf0d72778 (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 83201 2013-01-28 10:07:07Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: dojo <joerg.doll[at]gmx.de>

pkgname=gtkdialog
pkgver=0.8.3
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=('f8d2a2b912bcd5aa7da60984c19bc493')

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
}