# Maintainer: James Smith # Contributor: Thomas Ascher _pkgname=Terminal pkgname=terminal.app pkgrel=4 pkgver=0.9.9 pkgdesc='A terminal emulator for GNUstep' arch=('i686' 'x86_64' 'armv7h') url='http://www.nongnu.org/gap/terminal/index.html' license=('GPL2') groups=('gnustep-apps') depends=('gnustep-base' 'gnustep-gui' 'gnustep-back') makedepends=('gcc-objc') source=("https://savannah.nongnu.org/download/gap/Terminal-$pkgver.tar.gz" "http://deb.debian.org/debian/pool/main/t/terminal.app/terminal.app_0.9.9-3.debian.tar.xz") sha256sums=('27f81bbecdbd10cde8c080012cde4973bec20e551c58c29f353733cf03c220e9' "SKIP") prepare() { cd "$_pkgname-$pkgver" for patch in ../debian/patches/*.patch; do patch < $patch done } build() { cd "$_pkgname-$pkgver" source /usr/share/GNUstep/Makefiles/GNUstep.sh make } package() { cd "$_pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop" }