aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-augeas/APKBUILD
blob: d2b0d32c07e42ce5d2a90038c9fd412578be8af5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-augeas
pkgver=0.1.2
pkgrel=0
pkgdesc="Lua bindings for Augeas"
url="http://git.alpinelinux.org/cgit/lua-augeas/"
arch="all"
license="LGPL"
depends=
makedepends="lua-dev pkgconfig augeas-dev"
install=
subpackages=
source="http://git.alpinelinux.org/cgit/lua-augeas.git/snapshot/lua-augeas-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

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

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

md5sums="20581b3eb4cc38491dec561ab9a9c156  lua-augeas-0.1.2.tar.bz2"
sha256sums="1a4c273bdfad0106645fee85bcea2115b76ef7bab87cfad07c0c04eb331a85e3  lua-augeas-0.1.2.tar.bz2"
sha512sums="3ccbb32d4d71a9d390e814084a91fc26d51f25d31a1ff3a1e9927c494d196fdbc3954ae763b18e3b6e938bba9090773e4ac5fdb93ebc6d3293dc6be351485459  lua-augeas-0.1.2.tar.bz2"