aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-pc/APKBUILD
blob: 20707585d10f2ad02f73b6a30b24457e0d9050b2 (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-pc
_name=lpc
pkgver=1.0.0
pkgrel=4
pkgdesc="Lua Process Call"
url="https://github.com/LuaDist/lpc"
arch="all"
license="MIT/X11"
makedepends="lua-dev"
depends="lua"
source="http://dev.alpinelinux.org/archive/lpc/lpc-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_name-$pkgver"
	make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -shared"
}

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

md5sums="a8cd8b0c190e7d72dd7ec2f76e74e3c8  lpc-1.0.0.tar.gz"