blob: acfdcd3e39a8323e30da6b33784cb94ac3815dc8 (
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
39
40
|
# Maintainer: Andrea Girotto echo "naqern.tvebggb@tznvy.pbz" | tr '[a-z]' '[n-za-m]'
pkgname=sagittarius
pkgver=0.9.10
pkgrel=1
pkgdesc='R6RS/R7RS Scheme system.'
arch=('i686' 'x86_64')
url=https://bitbucket.org/ktakashi/sagittarius-scheme/wiki/Home
license=('BSD')
depends=(gc libffi zlib unixodbc openssl)
makedepends=('cmake>=2.8.4')
source=(https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/$pkgname-$pkgver.tar.gz)
md5sums=('baf9979d6c4e20a1ac4fb618a2438504')
build(){
cd ${srcdir}/${pkgname}-${pkgver}
sed -e '1s:/bin/sash:/bin/sagittarius:' -i cmake/sagittarius-config.in
sed -e '1s:/bin/sash:/bin/sagittarius:' -i cmake/sagittarius-package.in
cmake . -DCMAKE_INCLUDE_PATH=/usr/lib/libffi-3.1/include/ \
-DCMAKE_LIBRARY_PATH=/usr/lib \
-DINSTALL_PREFIX=/usr/ \
-DINSTALL_SYMLINK=0
make
make doc
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
#check() {
# cd "${srcdir}/${pkgname}-${pkgver}"
# make test
# make test-ext
#}
|