aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:05:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-07 17:05:30 +0000
commit123bdf20852a97ca6c096a035e4a9a508e0edfbf (patch)
treef01efcca05e078362fa075180c903d4ad6981eaf
parentea456683671635e8a1e2683d627f6cb39c866d2e (diff)
downloadaports-123bdf20852a97ca6c096a035e4a9a508e0edfbf.tar.bz2
aports-123bdf20852a97ca6c096a035e4a9a508e0edfbf.tar.xz
main/lua-json4: renamed from json4lua
-rw-r--r--main/lua-json4/APKBUILD (renamed from main/json4lua/APKBUILD)11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/json4lua/APKBUILD b/main/lua-json4/APKBUILD
index bceb0ca836..4e8efdab3b 100644
--- a/main/json4lua/APKBUILD
+++ b/main/lua-json4/APKBUILD
@@ -1,14 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=json4lua
+pkgname=lua-json4
+_name=json4lua
pkgver=0.9.20
pkgrel=0
-pkgdesc="JSON encoding / decoding module for Lua"
+pkgdesc="JSON encoding / decoding module for Lua (JSON4lua)"
url="http://json.luaforge.net/"
license="GPL-2"
depends="lua"
source="http://luaforge.net/frs/download.php/1375/JSON4Lua-$pkgver.zip"
+replaces="json4lua"
build() {
+ # do nothing, but keep it to make abuild happy
+ :
+}
+
+package() {
install -D "$srcdir"/json/json.lua "$pkgdir"/usr/share/lua/5.1/json.lua
}