aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
blob: e683200d76e1aeccb6ae496f67f3eb3057211621 (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.7
pkgrel=0
pkgdesc="POSIX library for Lua"
url="http://luaforge.net/projects/luaposix/"
license="MIT"
depends="lua"
makedepends="lua-dev"
source="http://git.alpinelinux.org/cgit/luaposix/snapshot/luaposix-$pkgver.tar.bz2"
replaces="luaposix"

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

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

md5sums="e7ed42536548ebc109bc1cb73f08b1e9  luaposix-5.1.7.tar.bz2"