PKGBUILDs/community/addresses/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=addresses
pkgver=0.4.6
pkgrel=4
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')
source=(http://giesler.biz/bjoern/downloads/Addresses-$pkgver.tar.gz)
md5sums=('2d6b6bf9a1578a5b3a13cb0bd2c60fad')
build() {
. /etc/profile.d/GNUstep.sh
cd $startdir/src/Addresses-$pkgver
sed -i -e 's|Versions/A|Versions/0|g' {Test,AddressManager}/GNUmakefile || return 1
export PATH=$startdir/gcc-objc/src/gcc-4.2.1/build/qwe/usr/bin:$PATH
make || return 1
make GNUSTEP_INSTALLATION_DIR=$startdir/pkg/opt/GNUstep/System INSTALL_ROOT_DIR=$startdir/pkg install || return 1
# buggy install scripts
cd $startdir/pkg/opt/GNUstep/System/Library/Headers/
rm AddressBook
ln -sf Addresses AddressBook
}