blob: 4b7ff4ca6efaf537364f6030d5f20668a2c6877f (
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
|
# Maintainer: Xavier Peng <png.inside@gmail.com>
pkgname=chez-scheme
pkgver=9.4
pkgrel=1
pkgdesc="Chez Scheme is an implementation of the Revised6 Report on Scheme [27] (R6RS) with numerous language and programming environment extensions. (threaded build)"
arch=(i686 x86_64)
url="https://github.com/cisco/ChezScheme"
depends=()
license=('APL')
makedepends=('binutils' 'make' 'git' 'ncurses' 'libx11' 'xproto')
conflicts=('petite-chez-scheme' 'chez-scheme-git')
replaces=('petite-chez-scheme' 'chez-scheme-git')
source=("$url/archive/v${pkgver}.tar.gz")
sha1sums=('SKIP')
_archivename=ChezScheme-$pkgver
pkgver() {
git ls-remote -t https://github.com/cisco/ChezScheme | tail -1 | sed 's|.*refs/tags/v||'
}
build() {
cd "$srcdir/${_archivename}" || exit
git init
rm -rf nanopass/ stex/ zlib/
git submodule add git@github.com:nanopass/nanopass-framework-scheme.git nanopass
git submodule add git@github.com:dybvig/stex.git stex
git submodule add git@github.com:madler/zlib.git zlib
./configure --installprefix=/usr --temproot=$pkgdir
make
}
package() {
cd "${srcdir}/${_archivename}" || exit
make install DESTDIR="$pkgdir"
}
|