# Maintainer: Christoffer Müller Madsen 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" }