aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-04 20:38:12 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-04 20:54:41 +0200
commit5a461824f433db3d66099e34f371c4608a93fed0 (patch)
treed96852a90b7917428971cc264b6065f4d75dd6f5
parent1b40c9d35c549fd77a85942e44e2cbbbc0d599f5 (diff)
downloadaports-5a461824f433db3d66099e34f371c4608a93fed0.tar.bz2
aports-5a461824f433db3d66099e34f371c4608a93fed0.tar.xz
main/lua-xml: change source URL, original upstream is not available
-rw-r--r--main/lua-xml/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/lua-xml/APKBUILD b/main/lua-xml/APKBUILD
index ea439a06d5..a587326476 100644
--- a/main/lua-xml/APKBUILD
+++ b/main/lua-xml/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaversions="5.1 5.2"
pkgname=lua-xml
-_name=LuaXML
+_name=luaxml
pkgver=130610
-pkgrel=3
+pkgrel=4
pkgdesc="a minimal set of functions for the processing of XML data in Lua"
-url="http://viremo.eludi.net/LuaXML/index.html"
+url="https://github.com/LuaDist2/luaxml"
arch="all"
license="MIT"
depends=
@@ -16,11 +16,11 @@ for _v in $_luaversions; do
makedepends="$makedepends lua$_v-dev"
subpackages="$subpackages lua$_v-xml:split_${_v/./_}"
done
-
-source="http://viremo.eludi.net/LuaXML/LuaXML_$pkgver.zip
+# Original upstream http://viremo.eludi.net/LuaXML/ is not available anymore.
+source="$pkgname-$pkgver.tar.gz::https://github.com/LuaDist2/$_name/archive/$pkgver-1.tar.gz
0001-Fix-error-where-TAG-should-be-xml.TAG.patch"
-_builddir="$srcdir"
+_builddir="$srcdir/$_name-$pkgver-1"
prepare() {
cd "$_builddir"
@@ -72,9 +72,5 @@ for _v in $_luaversions; do
eval "split_${_v/./_}() { _split $_v; }"
done
-md5sums="25e4c276c5d8716af1de0c7853aec2b4 LuaXML_130610.zip
-a22f3177c2e00c5e51836a4a49c70321 0001-Fix-error-where-TAG-should-be-xml.TAG.patch"
-sha256sums="f2c7475c9ff842d110cfcbc0d0859856b4df18baea3edb5b9379c41a92415e6e LuaXML_130610.zip
-979ec2c6610651bcbb6dd8184ca6d673e98cb2adfe5af83b1366f48ce6cfb398 0001-Fix-error-where-TAG-should-be-xml.TAG.patch"
-sha512sums="8f4ab1ba0b186ae8778ec7e2cdf5ebb403233ac9a551c6e476d0554bc27b0eb16a69a070c56747d59d6ee7aa53be70245d9be302ca69ea02226c3543b0ca654f LuaXML_130610.zip
+sha512sums="aabac62b5e748c04cd3591e5c2e6b417909c7a9efa1ff6c3dd1f546a2387220eb7fa1ffa56d3be0718a84a6fed51f287b68c7d334661c66787f7024d76142dfc lua-xml-130610.tar.gz
60ba65a0d47065e2609ca4d5c8d994fc29b9d4c6b5b0a060fa7f83612c71937999648e48dd26063f6528811eb053fe912ee5b6c4465576912c9dacb9bb406cae 0001-Fix-error-where-TAG-should-be-xml.TAG.patch"