blob: cd55d8827e4de84b654c6df56e0214ba7fd4dba3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer:
# Contributor: Rob Hoelz <rob at hoelz dot ro>
# Contributor: 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=lua51-posix
pkgver=33.4.0
pkgrel=1
pkgdesc='POSIX library for Lua 5.1'
arch=('x86_64' 'i686')
url='https://github.com/luaposix/luaposix'
license=('GPL' 'LGPL')
depends=('lua51')
makedepends=('lua51' 'git' 'help2man')
options=('!makeflags')
source=("https://github.com/luaposix/luaposix/archive/release-v$pkgver.tar.gz")
md5sums=('SKIP')
build() {
cd "luaposix-release-v$pkgver"
LUA=/usr/bin/lua5.1 \
LUA_INCLUDE=-I/usr/include/lua5.1/ \
./configure \
--prefix=/usr \
--libdir=/usr/lib/lua/5.1 \
--datadir=/usr/share/lua/5.1 \
--docdir=/usr/share/doc/lua-posix
make
}
check() {
cd "luaposix-release-v$pkgver"
make check
}
package() {
cd "luaposix-release-v$pkgver"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|