summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5a7510fb29defbcbc47a7e4be728708164479fe (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
# Maintainer: <mumei AT airmail DOT cc>

pkgname=edenmath.app
_pkgname=EdenMath
pkgrel=1
pkgver=1.1.1
pkgdesc="Scientific calculator originally written for Mac OSX & ported to GNUstep"
arch=('i686' 'x86_64')
url="https://www.eskimo.com/~pburns/EdenMath/files/EdenMath_GNUstep-1.1.1.tar.gz"
license=('GPL')
depends=('gnustep-base' 'gnustep-gui' 'gnustep-back')
makedepends=('gcc-objc' 'gnustep-make')
source=("https://www.eskimo.com/~pburns/EdenMath/files/EdenMath_GNUstep-1.1.1.tar.gz")
sha256sums=('fb149a898bae0f08cb86efa388f2847c1ddfe6a6738f4ee6de7eeaa2c9cc444f')

build() {
  cd "EdenMath_GNUstep-$pkgver"
  export GNUSTEP_MAKEFILES="$(gnustep-config --variable=GNUSTEP_MAKEFILES)"
  make
}

package() {
  cd "EdenMath_GNUstep-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
}