2011-08-19 14:20:46 +00:00

30 lines
651 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinlinux.org>
pkgname=lua-alt-getopt
pkgver=0.7.0
pkgrel=2
pkgdesc="Lua module for processing options similar to getopt_long(3)"
url="http://luaforge.net/projects/alt-getopt/"
arch="noarch"
license="MIT"
depends="lua"
makedepends=
install=
subpackages=
source="http://mova.org/~cheusov/pub/lua_alt_getopt/lua-alt-getopt-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
}
package() {
cd "$_builddir"
install -Dm644 alt_getopt.lua "$pkgdir"/usr/share/lua/5.1/alt_getopt.lua
}
md5sums="f504578b1287ea02759add231b972812 lua-alt-getopt-0.7.0.tar.gz"