blob: 7b770844f9d60ec0c0c4d63c7fe202999932b948 (
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
|
# Contributor: Taylor Venable <taylor@metasyntax.net>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=gauche-git
pkgver=0.9.6_pre4r10166
pkgrel=1
pkgdesc="R7RS Scheme implementation developed to be a handy script interpreter"
arch=('i686' 'x86_64')
url='http://practical-scheme.net/gauche/index.html'
license=('BSD')
# gauche only needed if this is the first build of gauche-git,
# afterwards gauche-git will provide gauche
depends=('zlib' 'gdbm' 'libatomic_ops' 'gauche' 'slib')
makedepends=('bash' 'git')
provides=('gauche')
conflicts=('gauche')
source=('git+https://github.com/shirok/Gauche.git')
md5sums=('SKIP')
_gitname='Gauche'
options=('!makeflags' '!emptydirs')
pkgver() {
cd "$_gitname"
_appver=$(awk -F, '/AC_INIT/ {print $2}' configure.ac|tr -d [])
printf %sr%s $(echo $_appver) $(git rev-list --count HEAD)
}
build() {
cd "$_gitname"
./DIST gen
CONFIG_SHELL=/bin/bash ./configure --prefix=/usr \
--enable-multibyte=utf-8 --enable-threads=pthreads
make
}
package() {
cd "$_gitname"
make DESTDIR="$pkgdir" install-pkg install-doc
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
|