aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-filesystem/APKBUILD
blob: 5a27cc479f096ae0a09af8780aee1daf608233d5 (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
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-filesystem
pkgver=1.5.0
pkgrel=0
pkgdesc="Lua library to complement the set of functions related to file systems"
url="http://www.keplerproject.org/luafilesystem/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="lua-dev"
install=
subpackages=
source="http://github.com/downloads/keplerproject/luafilesystem/luafilesystem-$pkgver.tar.gz"

_builddir="$srcdir"/luafilesystem-$pkgver
prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install
}

md5sums="3cf4882bbce956e7a0b010f148f194a3  luafilesystem-1.5.0.tar.gz"