summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f84ed15f500a0339d6799bec8a1f6c9b91c707c (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: Justin Ethier <justin.ethier@gmail.com>
pkgname=cyclone-scheme
pkgver=0.1.4
pkgrel=1
pkgdesc="An R7RS Scheme-to-C compiler using Cheney on the M.T.A with native threads"
arch=('i686' 'x86_64')
url="https://github.com/justinethier/cyclone-bootstrap"
license=('MIT')
groups=()
depends=('libck')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=($url/archive/v$pkgver.tar.gz)
noextract=()
#autofill using updpkgsums
md5sums=('3e30f357927d2de24c6dd8f2b0c34646')

build() {
  cd "cyclone-bootstrap-$pkgver"
  make libcyclone.a PREFIX=/usr
  make cyclone CFLAGS="-g -L. -Iinclude" PREFIX=/usr
  make icyc-c CFLAGS="-g -L. -Iinclude" PREFIX=/usr
}

package() {
  cd "cyclone-bootstrap-$pkgver"
  make DESTDIR="$pkgdir" PREFIX=/usr install-deps
  make DESTDIR="$pkgdir" PREFIX=/usr install-libs
  make DESTDIR="$pkgdir" PREFIX=/usr install-cyclone
  make DESTDIR="$pkgdir" PREFIX=/usr install
}