summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b5bd287e86b8a04f24af3b4dddc44ba957296c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributer: bitwave <aur [at] oomlu [d0t] de>
# Contributor: strata <strata@dropswitch.net>
pkgname=luazip5.1
pkgver=1.2.4
pkgrel=3
pkgdesc="reading files inside zip files"
arch=('i686' 'x86_64')
url="http://www.keplerproject.org/luazip/"
license=('MIT')
depends=('lua51' 'zziplib')
makedepends=('git' 'luarocks')

build() {
   luarocks --lua-version=5.1 --tree="${srcdir}" build luazip
}

package() {
	mkdir -p "${pkgdir}/usr/lib/lua/5.1"
  install -m 755 "${srcdir}/lib/lua/5.1/zip.so" \
    "${pkgdir}/usr/lib/lua/5.1/zip.so"
}
# vim:set ts=2 sw=2 et: