Date: Monday, May 26, 2014 @ 16:50:03 Author: arodseth Revision: 111912
archrelease: copy trunk to community-x86_64, community-i686 Added: lua-posix/repos/community-i686/ lua-posix/repos/community-i686/PKGBUILD (from rev 111911, lua-posix/trunk/PKGBUILD) lua-posix/repos/community-x86_64/ lua-posix/repos/community-x86_64/PKGBUILD (from rev 111911, lua-posix/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) Copied: lua-posix/repos/community-i686/PKGBUILD (from rev 111911, lua-posix/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-05-26 14:50:03 UTC (rev 111912) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Sébastien Luttringer +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Laszlo Papp <djszapi at archlinux us> +# Contributor: Donald Ephraim Curtis <dcur...@gmail.com> + +pkgname=lua-posix +pkgver=31 +pkgrel=1 +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: Copied: lua-posix/repos/community-x86_64/PKGBUILD (from rev 111911, lua-posix/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-05-26 14:50:03 UTC (rev 111912) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Sébastien Luttringer +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Laszlo Papp <djszapi at archlinux us> +# Contributor: Donald Ephraim Curtis <dcur...@gmail.com> + +pkgname=lua-posix +pkgver=31 +pkgrel=1 +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: