# $Id: PKGBUILD 50653 2011-06-29 11:36:38Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Vesa Kaihlavirta # Contributor: Sebastian Sareyko pkgname=addresses pkgver=0.4.6 pkgrel=7 pkgdesc="A versatile address book application for GNUstep" arch=('i686' 'x86_64') url="http://giesler.biz/bjoern/en/sw_addr.html" license=('LGPL') depends=('gnustep-back' 'gnustep-base' 'gnustep-gui') makedepends=('gnustep-make' 'gcc-objc') #source=(http://giesler.biz/bjoern/downloads/Addresses-$pkgver.tar.gz) source=(http://arch.p5n.pp.ru/~sergej/dl/Addresses-$pkgver.tar.gz) md5sums=('2d6b6bf9a1578a5b3a13cb0bd2c60fad') build() { . /etc/profile.d/GNUstep.sh cd $srcdir/Addresses-$pkgver sed -i -e 's|Versions/A|Versions/0|g' {Test,AddressManager}/GNUmakefile export PATH=$startdir/gcc-objc/src/gcc-4.2.1/build/qwe/usr/bin:$PATH make } package() { . /etc/profile.d/GNUstep.sh cd $srcdir/Addresses-$pkgver make GNUSTEP_INSTALLATION_DIR=$pkgdir/opt/GNUstep/System INSTALL_ROOT_DIR=$pkgdir install # buggy install scripts cd $pkgdir/opt/GNUstep/System/Library/Headers/ rm AddressBook ln -sf Addresses AddressBook }