diff options
Diffstat (limited to 'unmaintained/lua-zip/APKBUILD')
-rw-r--r-- | unmaintained/lua-zip/APKBUILD | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/unmaintained/lua-zip/APKBUILD b/unmaintained/lua-zip/APKBUILD deleted file mode 100644 index ca5a389cd8..0000000000 --- a/unmaintained/lua-zip/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Mika Havela <mika.havela@gmail.com> -# Maintainer: Mika Havela <mika.havela@gmail.com> -pkgname=lua-zip -pkgver="1.2.3" -pkgrel=0 -pkgdesc="Lua extension library used to read files stored inside zip files" -url="http://luaforge.net/projects/luazip/" -arch="all" -license="MIT" -depends="lua" -makedepends="lua-dev zziplib-dev" -install="" -subpackages="" -source="http://archive.ubuntu.com/ubuntu/pool/universe/l/lua-zip/lua-zip_${pkgver}.orig.tar.gz" - -_builddir="$srcdir/luazip-$pkgver" -prepare() { - cd "$_builddir" - sed -i -e '/LUA_VERSION_NUM/d' config - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make CFLAGS="$CFLAGS" CC="${CC:-gcc}" -} - -package() { - cd "$_builddir" - local _lua_libdir="$(pkg-config --variable=INSTALL_CMOD lua)" - make LUA_LIBDIR="${pkgdir}${_lua_libdir}" \ - install || return 1 -} - -md5sums="8129ba93a8df6ebd324fee9adca23fae lua-zip_1.2.3.orig.tar.gz" |