# $Id: PKGBUILD 113676 2014-06-27 18:32:24Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Sébastien Luttringer # Contributor: SpepS # Contributor: Laszlo Papp # Contributor: Donald Ephraim Curtis pkgname=lua-posix pkgver=32 pkgrel=3 pkgdesc='POSIX library for Lua' arch=('x86_64' 'i686') url='https://github.com/luaposix/luaposix' license=('MIT') depends=('lua') makedepends=('git' 'help2man' 'ldoc') options=('!makeflags') source=("$pkgname::git://github.com/luaposix/luaposix.git#tag=v$pkgver") md5sums=('SKIP') prepare() { cd "$pkgname" ./bootstrap } build() { cd "$pkgname" ./configure \ LUA=/usr/bin/lua \ --prefix=/usr \ --libdir=/usr/lib/lua/5.2 \ --datadir=/usr/share/lua/5.2 \ --docdir=/usr/share/doc/lua-posix make } package() { cd "$pkgname" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } # vim:set ts=2 sw=2 et: