add Terminal.app

This commit is contained in:
Christoffer Müller Madsen 2016-10-20 03:35:25 +02:00
parent cd1e04912d
commit 5d6438a5ef
2 changed files with 41 additions and 0 deletions

30
terminal.app/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Christoffer Müller Madsen <christoffer@guava.space>
pkgname=terminal.app
_pkgname=Terminal
pkgver=0.9.8
pkgrel=1
pkgdesc=""
arch=(i686 x86_64)
url="http://gap.nongnu.org/terminal/index.html"
license=('GPL')
install=$pkgname.install
depends=(gnustep-base gnustep-gui gnustep-back)
makedepends=('gcc-objc'
'gnustep-make')
provides=(terminal.app)
conflicts=(terminal.app)
source=(http://savannah.nongnu.org/download/gap/$_pkgname-$pkgver.tar.gz)
md5sums=('e5ee38d17fc5d6840f3e6b167894d14b')
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
}