aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
blob: a8e3d29aac33de6e1ced701cd3a27acf7514e224 (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=0
pkgdesc="POSIX library for Lua"
url="http://luaforge.net/projects/luaposix/"
arch="x86 x86_64"
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"