1 # Contributor: Kyle Keen <keenerd@gmail.com>
6 pkgdesc="A simple stack-based scripting language."
7 url="http://github.com/nikki93/nscript"
9 license=('None') # Seriously!
16 _gitroot="git://github.com/nikki93/nscript.git"
21 msg "Connecting to github.com..."
23 if [ -d ${srcdir}/${_gitname} ] ; then
24 cd ${_gitname} && git pull origin
25 msg "The local files are updated."
27 git clone --depth 1 ${_gitroot}
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
36 #make DESTDIR="$pkgdir" install
37 # No destdir, no prefix. Let's do it by hand!
38 install -d "$pkgdir"/usr/bin/
39 install -d "$pkgdir"/usr/lib/
40 install -Dm755 nstest "$pkgdir"/usr/bin/nscript
41 install -Dm644 libnscript.a "$pkgdir"/usr/lib/
42 #find bin/ -executable -type f | xargs install -Dm755 "$pkgdir/usr/bin/"