summaryrefslogtreecommitdiff
path: root/community/addresses/PKGBUILD
blob: ba7cc79c7de8fdaf5e853c6942711e2d7358185f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 44420 2011-04-07 13:06:35Z spupykin $
# 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=6
pkgdesc="A versatile address book application for GNUstep"
arch=('i686' 'x86_64' 'mips64el')
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 $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
  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
}