diff options
-rw-r--r-- | main/lua-expat/APKBUILD (renamed from main/luaexpat/APKBUILD) | 11 | ||||
-rw-r--r-- | main/lua-expat/newconfig (renamed from main/luaexpat/newconfig) | 0 |
2 files changed, 6 insertions, 5 deletions
diff --git a/main/luaexpat/APKBUILD b/main/lua-expat/APKBUILD index 4223edad76..e2c58cad63 100644 --- a/main/luaexpat/APKBUILD +++ b/main/lua-expat/APKBUILD @@ -1,6 +1,7 @@ # Contributor: Mika Havela <mika.havela@gmail.com> # Maintainer: Mika Havela <mika.havela@gmail.com> -pkgname=luaexpat +pkgname=lua-expat +_name=luaexpat pkgver=1.1 pkgrel=0 pkgdesc="LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is free software and uses the same license as Lua 5.0." @@ -9,18 +10,18 @@ license="MIT" depends="lua" makedepends="lua-dev expat-dev" install= -source="http://luaforge.net/frs/download.php/2469/$pkgname-$pkgver.tar.gz +source="http://luaforge.net/frs/download.php/2469/$_name-$pkgver.tar.gz newconfig" +replaces="luaexpat" build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$_name-$pkgver" mv ../newconfig ./config - make || return 1 } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$_name-$pkgver" make LUA_DIR="$pkgdir"/usr/share/lua/5.1 LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install } diff --git a/main/luaexpat/newconfig b/main/lua-expat/newconfig index 7d8d6331fc..7d8d6331fc 100644 --- a/main/luaexpat/newconfig +++ b/main/lua-expat/newconfig |