# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-dns
pkgver=20080404
pkgrel=2
pkgdesc="a DNS client library written in Lua using LuaSocket"
url="http://ztact.com/software/dns.lua"
arch="noarch"
license="GPL"
depends="lua lua-socket"
makedepends=
install=
subpackages=
# Was found here: http://ztact.com/files/src/ztact-lua/
source="dns.lua ztact.lua"

prepare() {
	:
}

build() {
	:
}

package() {
	install -d "$pkgdir"/usr/share/lua/5.1
	install -m 644 "$srcdir"/*.lua "$pkgdir"/usr/share/lua/5.1/
}

md5sums="8a085a4cf7accf2f6e798c507709bc78  dns.lua
a83eb072dece91c5db043f5884ee00b0  ztact.lua"
sha256sums="7dab246c0f68f028eca8f636f2000dd394ce7b4f725d74c65bbf8228954a11ac  dns.lua
4476af73b3361b59f8f322abe4f28e1f50a0868d617459c50d4d34009e83ed6a  ztact.lua"
sha512sums="d0d72b1ab652b55d573f8c2087709e5ca59525b9429579bca89121209b6f19a4db1e3a63681841cc23c892b5936ad460335dfc275c673ac6728c2c7b71f1faab  dns.lua
d0d59a58deea4552924f5ed11ca9ab404ed0b9f3c14b6834bd76c3a0f714b4b427e31682bce9880cdd110ec3b519e84839ff111af4df6f70c052fa2408e081bc  ztact.lua"
