From d1bd52876cb6805b6e518f2b02168dc3c352b06f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 4 Jun 2010 21:48:03 +0000 Subject: main/lua-alt-getopt: new aport Lua module for processing options similar to getopt_long(3) http://luaforge.net/projects/alt-getopt/ --- main/lua-alt-getopt/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 main/lua-alt-getopt/APKBUILD (limited to 'main/lua-alt-getopt') diff --git a/main/lua-alt-getopt/APKBUILD b/main/lua-alt-getopt/APKBUILD new file mode 100644 index 000000000..367097151 --- /dev/null +++ b/main/lua-alt-getopt/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa +pkgname=lua-alt-getopt +pkgver=0.7.0 +pkgrel=0 +pkgdesc="Lua module for processing options similar to getopt_long(3)" +url="http://luaforge.net/projects/alt-getopt/" +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" -- cgit v1.2.3