updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / addresses / PKGBUILD
blobaf9eec5e96b1860ec62d9fd91aea42516d20761e
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>
6 pkgname=addresses
7 pkgver=0.4.6
8 pkgrel=8
9 pkgdesc="A versatile address book application for GNUstep"
10 arch=('i686' 'x86_64')
11 url="http://giesler.biz/bjoern/en/sw_addr.html"
12 license=('LGPL')
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')
19 build() {
20   . /etc/profile.d/GNUstep.sh
21   cd $srcdir/Addresses-$pkgver
22   sed -i -e 's|Versions/A|Versions/0|g' {Test,AddressManager}/GNUmakefile
23   make
26 package() {
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/
32   rm AddressBook
33   ln -sf Addresses AddressBook
34   cd $pkgdir/usr/lib/GNUstep/Library/
35   mv * ..
36   cd .. && rmdir Library