aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:15:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:15:55 +0000
commit3609d312b0eb1dfc7c5ce40645332556d3c4b3a2 (patch)
treed0e0997916f5d2ba73e77fd25e82dbf736cc1127 /main
parenta9f95c6fe4fe590a9d4221981b565c83521addff (diff)
downloadaports-3609d312b0eb1dfc7c5ce40645332556d3c4b3a2.tar.bz2
aports-3609d312b0eb1dfc7c5ce40645332556d3c4b3a2.tar.xz
main/lua-expat: renamed from luaexpat
Diffstat (limited to 'main')
-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