1 # $Id: PKGBUILD 51616 2011-07-12 10:59:49Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
4 # Contributor: Sebastian Sareyko <public@nooms.de>
9 pkgdesc="A versatile address book application for GNUstep"
10 arch=('i686' 'x86_64')
11 url="http://giesler.biz/bjoern/en/sw_addr.html"
13 depends=('gnustep-back' 'gnustep-base' 'gnustep-gui')
14 makedepends=('gnustep-make' 'gcc-objc')
15 #source=(http://giesler.biz/bjoern/downloads/Addresses-$pkgver.tar.gz)
16 source=(http://arch.p5n.pp.ru/~sergej/dl/Addresses-$pkgver.tar.gz)
17 md5sums=('2d6b6bf9a1578a5b3a13cb0bd2c60fad')
20 . /etc/profile.d/GNUstep.sh
21 cd $srcdir/Addresses-$pkgver
22 sed -i -e 's|Versions/A|Versions/0|g' {Test,AddressManager}/GNUmakefile
27 . /etc/profile.d/GNUstep.sh
28 cd $srcdir/Addresses-$pkgver
29 make GNUSTEP_INSTALLATION_DIR=$pkgdir/usr/lib/GNUstep INSTALL_ROOT_DIR=$pkgdir install
30 # buggy install scripts
31 cd $pkgdir/usr/lib/GNUstep/Library/Headers/
33 ln -sf Addresses AddressBook
34 cd $pkgdir/usr/lib/GNUstep/Library/
36 cd .. && rmdir Library