updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / gtkhash / PKGBUILD
blob3aba20f6b06b9ffbcf68b8d02807d71b7e65e017
1 # First maintainer: Jan Böhringer <janboe@gmail.com>
2 # Actual maintainer: Frédérik Paradis <fredy_14@live.fr>
4 pkgname=gtkhash
5 pkgver=0.6.0
6 pkgrel=2
7 pkgdesc="A GTK+ utility for computing message digests or checksums."
8 arch=('i686' 'x86_64')
9 url="http://gtkhash.sourceforge.net/"
10 license=('GPL')
11 depends=('gtk2' 'mhash') 
12 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
13         gtkhash.desktop)
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   ./configure --prefix=/usr --disable-nautilus || return 1
18   make || return 1
19   make DESTDIR=$startdir/pkg install || return 1
20   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
21   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain $pkgname ${pkgdir}/usr/etc/gconf/schemas/*.schemas || return 1
22   rm -rf ${pkgdir}/usr/etc/
23   install -D -m644 $startdir/src/gtkhash.desktop $startdir/pkg/usr/share/applications/gtkhash.desktop || return 1 
26 md5sums=('71980923ccf6d11715b1d2bfc7a5dfc6'
27          'baaf96833613fdc5ded1cf8e1972ba3f')