aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
blob: 21ac5e277520f0b104890dd2b579d7f0dcf4033d (plain) (blame)
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
# 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/"
arch="all"
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"