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

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

package() {
	cd "$srcdir/$_name-$pkgver"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

md5sums="073019b1a52bfddb94e2521553b47ef5  luaposix-5.1.4.tar.gz"