# Maintainer: Natanael Copa pkgname=lua-augeas pkgver=0.1 pkgrel=1 pkgdesc="Lua bindings for Augeas" url="http://git.alpinelinux.org/cgit/lua-augeas/" arch="x86 x86_64" license="LGPL" depends= makedepends="lua-dev pkgconfig augeas-dev" install= subpackages= source="http://git.alpinelinux.org/cgit/lua-augeas/snapshot/lua-augeas-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" make CFLAGS="${CFLAGS} -fPIC" || return 1 } package() { cd "$_builddir" install -D augeas.so "$pkgdir"/usr/lib/lua/5.1/augeas.so } md5sums="7b25097b785ee6b2dc09f0bb69a30a6b lua-augeas-0.1.tar.bz2"