add Terminal.app
This commit is contained in:
parent
cd1e04912d
commit
5d6438a5ef
30
terminal.app/PKGBUILD
Normal file
30
terminal.app/PKGBUILD
Normal 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"
|
||||||
|
}
|
11
terminal.app/terminal.app.install
Normal file
11
terminal.app/terminal.app.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