add Addresses (AddressManager)

This commit is contained in:
Christoffer Müller Madsen 2016-10-20 01:16:53 +02:00
parent 44596f21ee
commit a0282aa1d7
2 changed files with 42 additions and 0 deletions

31
addresses/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# 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"
}

View File

@ -0,0 +1,11 @@
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}