summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d516456d260a315868dedc233c8d92ae0de4affb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: James Smith <jslonescout AT icloud DOT com>
# Contributor: Thomas Ascher <thomas.ascher@gmx.at>

_pkgname=Terminal
pkgname=terminal.app
pkgrel=3
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")
sha256sums=('27f81bbecdbd10cde8c080012cde4973bec20e551c58c29f353733cf03c220e9')

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"
}