# Maintainer: Natanael Copa pkgname=lua-posix _name=luaposix pkgver=5.1.7 pkgrel=0 pkgdesc="POSIX library for Lua" url="http://luaforge.net/projects/luaposix/" arch="all" license="MIT" depends="lua" makedepends="lua-dev" source="http://git.alpinelinux.org/cgit/luaposix/snapshot/luaposix-$pkgver.tar.bz2" replaces="luaposix" build() { cd "$srcdir/$_name-$pkgver" make PREFIX=/usr || return 1 } package() { cd "$srcdir/$_name-$pkgver" make PREFIX=/usr DESTDIR="$pkgdir" install } md5sums="e7ed42536548ebc109bc1cb73f08b1e9 luaposix-5.1.7.tar.bz2"