summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8f6c0981ba37810b7af63c9675fadbef7f4a453 (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
29
30
31
32
33
34
35
36
37
38
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: damir <damir@archlinux.org>
# Contributor: Suzy Williams <suzanne.williams3@verizon.net>
# Contributor: Allan McRae <allan@archlinux.org>

pkgname=yabasic
pkgver=2.84.1
pkgrel=1
pkgdesc="Yet Another Basic"
arch=('i686' 'x86_64')
license=('MIT')
url="http://www.yabasic.de/"
depends=('libx11' 'ncurses')
makedepends=('libxt')
source=("http://www.yabasic.de/download/$pkgname-$pkgver.tar.gz")
sha256sums=('64f16bfcdcc646af0c13f712aa6b06c990c69c9f901311f2cf80a08d50c2653c')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-use-ffi
#disable ffi because ffi.h cannot be found on Archlinux ?!
  make
}


# Disabling check for 2.81.1 and newer
# Run in script test failed :(
#check() {
#  cd $pkgname-$pkgver
#  make check
#}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}