updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / luazip / PKGBUILD
blobdb94e0e31a72bbf2221d079aa7ced02758432978
1 pkgname="luazip"
2 pkgver="1.2.3"
3 pkgrel=1
4 pkgdesc="reading files inside zip files"
5 arch=('i686' 'x86_64')
6 url="http://www.keplerproject.org/luazip/"
7 license=('MIT')
8 depends=('lua')
9 provides=()
10 conflicts=()
12 source=("http://luaforge.net/frs/download.php/2493/luazip-1.2.3.tar.gz")
13 md5sums=('8129ba93a8df6ebd324fee9adca23fae')
15 build() {
16   cd $srcdir/luazip-1.2.3
17   sed -i 's/5\.0/5.1/' config
18   sed -i 's/500/510/' config
19   sed -i "s#LUA_\([A-Z]*\)= /usr#LUA_\1= ${pkgdir}/usr#" config
20   sed -i 's#local/##' config
21   make lib || return 1
22   make install || return 1
24