summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ece4563a926f6c52cd0bfc718a3028fbb6186ffa (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
# Maintainer: Erick Gallesio <eg at stklos net>
# Contributor: Jorge Silva <j0rj@posteo.net>

pkgname=stklos
pkgver=2.10
pkgrel=1
pkgdesc="Free R7RS Scheme system."
arch=('i686' 'x86_64')
url="http://www.stklos.net"
license=('GPL-2.0-or-later')
depends=('gmp' 'pcre2' 'libffi' 'gc')
optdepends=('readline: line editing and history support')
source=("http://www.stklos.net/download/$pkgname-$pkgver.tar.gz")
md5sums=('15347ac3137b21a806a2da3ab899f17d')

prepare() {
   cd "$pkgname-$pkgver"
}

build() {
  cd "$pkgname-$pkgver"
  CFLAGS="-O3 -Wall -Wextra" LDFLAGS="" ./configure --enable-threads --prefix=/usr 
  make
}

check() {
  cd "$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}