From 266ddb4aa9aed9a6a66b5eb9e17da710e66c4987 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 27 May 2014 03:40:36 +0000 Subject: Tue May 27 03:35:23 UTC 2014 --- community/lua-posix/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 community/lua-posix/PKGBUILD (limited to 'community/lua-posix/PKGBUILD') diff --git a/community/lua-posix/PKGBUILD b/community/lua-posix/PKGBUILD new file mode 100644 index 000000000..d52cbac75 --- /dev/null +++ b/community/lua-posix/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 111919 2014-05-26 15:44:44Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Sébastien Luttringer +# Contributor: SpepS +# Contributor: Laszlo Papp +# Contributor: Donald Ephraim Curtis + +pkgname=lua-posix +pkgver=31 +pkgrel=2 +pkgdesc='POSIX library for Lua' +arch=('x86_64' 'i686') +url='https://github.com/luaposix/luaposix' +license=('GPL' 'LGPL') +depends=('lua') +makedepends=('lua' 'git' 'help2man') +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 +} + +check() { + make -C "$pkgname" check || true +} + +package() { + make -C "$pkgname" DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf