APKBUILD 731 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
2
3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-xml
_name=LuaXML
4
pkgver=101012
5
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
6
pkgdesc="a minimal set of functions for the processing of XML data in Lua"
7
url="http://viremo.eludi.net/LuaXML/index.html"
8
arch="all"
Natanael Copa's avatar
Natanael Copa committed
9
10
11
12
13
license="MIT"
depends=
makedepends="lua-dev"
install=
subpackages=
14
source="http://viremo.eludi.net/LuaXML/LuaXML_$pkgver.zip"
Natanael Copa's avatar
Natanael Copa committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

_builddir="$srcdir"

prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$_builddir"
	install -m755 -D LuaXML_lib.so "$pkgdir"/usr/lib/lua/5.1/LuaXML_lib.so\
		|| return 1
	install -m755 -D LuaXml.lua "$pkgdir"/usr/share/lua/5.1/LuaXml.lua \
		|| return 1
}

35
md5sums="81c2f0c7c4238d3115e3c3e1ebc7d194  LuaXML_101012.zip"