diff options
author | root <root@rshg054.dnsready.net> | 2011-12-28 23:14:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-28 23:14:43 +0000 |
commit | 5cd3c62bce23c2b25c28b22da71f664b48703ad2 (patch) | |
tree | aee847e5a2d7426a3e42bf6972f4af3f17864261 /community/luaposix | |
parent | b3288f94e625603d6b5b23740b721287e75eead7 (diff) |
Wed Dec 28 23:14:43 UTC 2011
Diffstat (limited to 'community/luaposix')
-rw-r--r-- | community/luaposix/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/luaposix/PKGBUILD b/community/luaposix/PKGBUILD new file mode 100644 index 000000000..7983e7bad --- /dev/null +++ b/community/luaposix/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 61274 2011-12-27 22:28:27Z seblu $ +# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Laszlo Papp <djszapi at archlinux us> +# Contributor: Donald Ephraim Curtis <dcurtis@gmail.com> + +pkgname=luaposix +pkgver=5.1.15 +pkgrel=1 +pkgdesc='A POSIX library for Lua programming language' +arch=('i686' 'x86_64') +url='http://luaforge.net/projects/luaposix/' +license=('GPL' 'LGPL') +depends=('lua') +options=('!libtool') +source=("https://github.com/downloads/rrthomas/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('c492541a768302fb67ad14a294306f3a') + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr \ + --libdir=/usr/lib/lua/5.1 \ + --datadir=/usr/share/lua/5.1 + make +} + +package() { + cd $pkgname-$pkgver + + make PREFIX=/usr DESTDIR="$pkgdir/" install + + # examples + install -d "$pkgdir/usr/share/$pkgname/examples" + install -D -m 644 *.lua "$pkgdir/usr/share/$pkgname/examples" +} + +# vim:set ts=2 sw=2 ft=sh et: |