updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / gringotts / PKGBUILD
blob43c77fab7d4a3d509fdbf71d77852d79db47edd5
1 # Maintainer: Jaroslav Lichtlbau <dragonlord@aur.archlinux.org>
3 pkgname=gringotts
4 pkgver=1.2.10
5 pkgrel=1
6 pkgdesc="Secure notes manager for UNIX-like systems."
7 arch=('i686' 'x86_64')
8 url="http://gringotts.berlios.de"
9 license=('GPL')
10 depends=('libgringotts' 'gtk2' 'popt')
11 makedepends=('patch')
12 install=$pkgname.install
13 source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz \
14         $pkgname.diff \
15         desktopfile.diff)
17 md5sums=('6f17589f1cb7d08be73728843dcf286a'
18          'bafa16a4033ec32cc76bac34cdd1477e'
19          'd5f040ecf7bb895e2fcc151e4dfc2f7a')
21 build() {
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
30   make || return 1
31   make DESTDIR=${pkgdir} install
33 #.desktop file
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