1 # Maintainer: Jaroslav Lichtlbau <dragonlord@aur.archlinux.org>
6 pkgdesc="Secure notes manager for UNIX-like systems."
8 url="http://gringotts.berlios.de"
10 depends=('libgringotts' 'gtk2' 'popt')
12 install=$pkgname.install
13 source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz \
17 md5sums=('6f17589f1cb7d08be73728843dcf286a'
18 'bafa16a4033ec32cc76bac34cdd1477e'
19 'd5f040ecf7bb895e2fcc151e4dfc2f7a')
22 cd ${srcdir}/$pkgname-$pkgver
24 ./configure --prefix=/usr
26 #patching source code and the gringotts.desktop file
27 patch -Np0 -i ${srcdir}/$pkgname.diff || return 1
28 patch -Np0 -i ${srcdir}/desktopfile.diff || return 1
31 make DESTDIR=${pkgdir} install
34 install -D -m644 $pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
36 #adding suid bit to the executable
37 chmod u+s ${pkgdir}/usr/bin/$pkgname