arch-pkgbuilds/addresses/PKGBUILD
2016-10-20 03:35:12 +02:00

32 lines
900 B
Bash

# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
pkgname=addresses
_pkgname=Addresses
__pkgname=AddressManager
pkgver=0.4.8
pkgrel=1
pkgdesc="Contact manager for GNUstep"
arch=(i686 x86_64)
url="http://gap.nongnu.org/addresses/index.html"
license=('GPL')
install=$pkgname.install
depends=(gnustep-base gnustep-gui gnustep-back)
makedepends=('gcc-objc'
'gnustep-make')
provides=(addresses)
conflicts=(addresses)
source=(http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz)
md5sums=('35c929e3d2361ab26e3387fa07ca1d29')
build() {
cd "$srcdir/$_pkgname-$pkgver"
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$__pkgname.app/Resources/$__pkgname.desktop" \
"$pkgdir/usr/share/applications/$__pkgname.desktop"
}