blob: c35de5d81089a7021def35faaa1b70f574f882c0 (
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
34
35
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-xml
_name=LuaXML
pkgver=101012
pkgrel=1
pkgdesc="a minimal set of functions for the processing of XML data in Lua"
url="http://viremo.eludi.net/LuaXML/index.html"
arch="all"
license="MIT"
depends=
makedepends="lua-dev"
install=
subpackages=
source="http://viremo.eludi.net/LuaXML/LuaXML_$pkgver.zip"
_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
}
md5sums="81c2f0c7c4238d3115e3c3e1ebc7d194 LuaXML_101012.zip"
|