# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=lua-microlight pkgver=0_git20120215 pkgrel=0 pkgdesc="a really compact set of general Lua functions" url="http://stevedonovan.github.com/microlight/" arch="noarch" license="MIT" depends="lua" makedepends="wget" install="" subpackages="" source="https://raw.github.com/gist/1834789/2bbb01662de1d83af93d2bd2990fee229b473d54/ml.lua" _builddir= prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" } package() { cd "$_builddir" install -Dm644 "$srcdir"/ml.lua "$pkgdir"/usr/share/lua/5.1/ml.lua } md5sums="0a1e55c9babf6c093aa24f391c07cfd7 ml.lua"