1 # Maintainer: baskerville <nihilhill@gmail.com>
6 pkgdesc="S-Lang is a powerful interpreted language"
8 url="http://www.jedsoft.org/slang/index.html"
10 depends=('glibc' 'pcre' 'zlib')
11 optdepends=('oniguruma')
13 provides=('slang-git')
16 _gitroot='git://git.jedsoft.org/git/slang.git'
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 ./configure --prefix=/usr
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir" install