summaryrefslogtreecommitdiffstats
path: root/main/lua-openrc/APKBUILD
blob: a0f371a65d5aac5d781447813d5d8005e14b4089 (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
26
27
28
29
30
31
32
33
# Contributor: 
# Maintainer: 
pkgname=lua-openrc
pkgver=0.1
pkgrel=4
pkgdesc="Lua module for OpenRC"
url="http://git.alpinelinux.org/cgit/lua-openrc/"
arch="all"
license="GPL"
depends=lua
makedepends="lua-dev openrc-dev"
install=
subpackages=
source="http://git.alpinelinux.org/cgit/lua-openrc.git/snapshot/lua-openrc-$pkgver.tar.bz2"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -Dm755 rc.so "$pkgdir"/usr/lib/lua/5.1/rc.so
}

md5sums="9a9ace6b5567179852b1ee04196a0ec3  lua-openrc-0.1.tar.bz2"