aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-alt-getopt/APKBUILD
blob: 5ac5b01a8b63166361e80dbf767ca1b99d4bd029 (plain) (blame)
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
29
# 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"