blob: 367097151d4380f22a442c38db4c453bbcb5d085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"
|