summaryrefslogtreecommitdiff
path: root/community/addresses/PKGBUILD
blob: 1f5dcfa60a6ec80da3c396246c0874a614c9bbe5 (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 18081 2010-05-31 08:52:52Z 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=5
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 $srcdir/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=$pkgdir/opt/GNUstep/System INSTALL_ROOT_DIR=$startdir/pkg install || return 1

  # buggy install scripts
  cd $pkgdir/opt/GNUstep/System/Library/Headers/
  rm AddressBook
  ln -sf Addresses AddressBook
}