1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Laszlo Papp <djszapi at archlinux us>
3 # Contributor: Donald Ephraim Curtis <dcurtis@gmail.com>
8 pkgdesc="A POSIX library for Lua"
10 url="http://luaforge.net/projects/luaposix/"
13 provides=("lcurses") # merged
16 #source=("http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2")
17 #source=("http://luaforge.net/frs/download.php/4813/$pkgname-$pkgver.tar.bz2")
18 source=("https://github.com/rrthomas/$pkgname/tarball/v$pkgver")
19 md5sums=('af2a1637b61af136056c47d22238423c')
22 cd "$srcdir/rrthomas"*
24 [[ -d build-aux ]] || ./bootstrap
25 ./configure --prefix=/usr \
26 --libdir=/usr/lib/lua/5.1 \
27 --datadir=/usr/share/lua/5.1
32 cd "$srcdir/rrthomas"*
34 make PREFIX=/usr DESTDIR="$pkgdir/" install
37 install -d "$pkgdir/usr/share/$pkgname/examples"
38 install -Dm644 *.lua "$pkgdir/usr/share/$pkgname/examples"