summaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
blob: 00cf9a4fd31aa189e413bd307288df702e4885d5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-posix
_name=luaposix
pkgver=5.1.7
pkgrel=1
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.git/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"