summaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
blob: 14a99af687340b06f38d578680f05cacaace36c8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-posix
_name=luaposix
pkgver=5.1.11
pkgrel=0
pkgdesc="POSIX library for Lua"
url="http://luaforge.net/projects/luaposix/"
arch="all"
license="MIT"
depends="lua"
makedepends="lua-dev"
source="http://luaforge.net/frs/download.php/4813/luaposix-$pkgver.tar.gz"
replaces="luaposix"

_builddir="$srcdir"/$_name
build() {
	cd "$_builddir"
	make PREFIX=/usr || return 1
}

package() {
	cd "$_builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

md5sums="edb76911dbdabe98dec49e3d8a126227  luaposix-5.1.11.tar.gz"