diff options
Diffstat (limited to 'main/lua-alt-getopt')
-rw-r--r-- | main/lua-alt-getopt/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
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 <ncopa@alpinlinux.org> +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" |