add Addresses (AddressManager)
This commit is contained in:
parent
44596f21ee
commit
a0282aa1d7
31
addresses/PKGBUILD
Normal file
31
addresses/PKGBUILD
Normal 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"
|
||||||
|
}
|
11
addresses/addresses.install
Normal file
11
addresses/addresses.install
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install $1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install $1
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user