updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / gtkhash / PKGBUILD
blob1f212fb5adcd61c18c1131f84ceb038712e2a4e3
1 # Maintainer: Jan Böhringer <janboe@gmail.com>
3 pkgname=gtkhash
4 pkgver=0.3.0
5 pkgrel=1
6 pkgdesc="A GTK+ utility for computing message digests or checksums."
7 arch=('i686' 'x86_64')
8 url="http://gtkhash.sourceforge.net/"
9 license=('GPL')
10 depends=('gtk2' 'mhash' 'nautilus')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
12         gtkhash.desktop)
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   ./configure --prefix=/usr || return 1
17   make || return 1
18   make DESTDIR=$startdir/pkg install || return 1
19   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
20   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain $pkgname ${pkgdir}/usr/etc/gconf/schemas/*.schemas || return 1
21   rm -rf ${pkgdir}/usr/etc/
22   install -D -m644 $startdir/src/gtkhash.desktop $startdir/pkg/usr/share/applications/gtkhash.desktop || return 1 
25 md5sums=('657e5278f5f0b83a4954d09353f92294'
26          'baaf96833613fdc5ded1cf8e1972ba3f')