diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-27 03:40:36 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-27 03:40:36 +0000 |
commit | 266ddb4aa9aed9a6a66b5eb9e17da710e66c4987 (patch) | |
tree | c0d32fb7dc90ad7e6763780b1196adf05f972fe3 /community/lua-posix/PKGBUILD | |
parent | cda3f380f74d60573c1202f7f34a79c8182e341a (diff) |
Tue May 27 03:35:23 UTC 2014
Diffstat (limited to 'community/lua-posix/PKGBUILD')
-rw-r--r-- | community/lua-posix/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
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 <rodseth@gmail.com> +# Contributor: Sébastien Luttringer +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Laszlo Papp <djszapi at archlinux us> +# Contributor: Donald Ephraim Curtis <dcurtis@gmail.com> + +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: |