arch-pkgbuilds/addresses/PKGBUILD

32 lines
900 B
Bash
Raw Permalink Normal View History

2016-10-19 23:16:53 +00:00
# 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() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/$_pkgname-$pkgver"
2016-10-19 23:16:53 +00:00
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make
}
package() {
2016-10-20 01:35:12 +00:00
cd "$srcdir/$_pkgname-$pkgver"
2016-10-19 23:16:53 +00:00
make DESTDIR="$pkgdir/" install
install -D -m644 "$pkgdir/usr/lib/GNUstep/Applications/$__pkgname.app/Resources/$__pkgname.desktop" \
"$pkgdir/usr/share/applications/$__pkgname.desktop"
}