aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/lua-stringy/APKBUILD14
-rw-r--r--main/lua-stringy/link-to-correct-lua-version.patch19
2 files changed, 5 insertions, 28 deletions
diff --git a/main/lua-stringy/APKBUILD b/main/lua-stringy/APKBUILD
index 68798781ff..81910ec6c4 100644
--- a/main/lua-stringy/APKBUILD
+++ b/main/lua-stringy/APKBUILD
@@ -4,7 +4,7 @@
_luaversions="5.1 5.2"
pkgname=lua-stringy
pkgver=0.4
-pkgrel=2
+pkgrel=3
pkgdesc="Lua string utility library"
url="https://github.com/brentp/lua-projects/"
arch="all"
@@ -13,8 +13,7 @@ depends=""
makedepends=""
install=""
subpackages=""
-source="lua-projects-$pkgver.tar.gz::https://github.com/brentp/lua-projects/archive/$pkgver.tar.gz
- link-to-correct-lua-version.patch"
+source="lua-projects-$pkgver.tar.gz::https://github.com/brentp/lua-projects/archive/$pkgver.tar.gz"
for _v in $_luaversions; do
depends="$depends lua$_v-stringy"
@@ -67,9 +66,6 @@ for _v in $_luaversions; do
done
-md5sums="cac1787756fe42151d7b60df9f19c9e3 lua-projects-0.4.tar.gz
-9c882939f48bf6dd129b93e46d6f4eb3 link-to-correct-lua-version.patch"
-sha256sums="72a800d2e3e1cc13fbf458ad5cbc06b8ea705afedfe72221dbe9e7cec935721e lua-projects-0.4.tar.gz
-5df2a0cc52ccdecd2a6b1a8f07d2c53aba805da5ba5cf1b129c94d68c1331026 link-to-correct-lua-version.patch"
-sha512sums="7bcd5449a99e5e1633e9cd1175208f1cde65a8dddbd9a06726c16518805387a5d3809fc7644fae090c4f3e948ed1364911e12d923fc26dbf5378c8adb1a07b3a lua-projects-0.4.tar.gz
-dd498d9cda5af9f751d3566bfa01ae575eb2513b7fb5d4cd197f95cc1dcd08a17b5a806b06ae1c65545e69ca961cddde73d1e75682269937e1f568b9f4603083 link-to-correct-lua-version.patch"
+md5sums="cac1787756fe42151d7b60df9f19c9e3 lua-projects-0.4.tar.gz"
+sha256sums="72a800d2e3e1cc13fbf458ad5cbc06b8ea705afedfe72221dbe9e7cec935721e lua-projects-0.4.tar.gz"
+sha512sums="7bcd5449a99e5e1633e9cd1175208f1cde65a8dddbd9a06726c16518805387a5d3809fc7644fae090c4f3e948ed1364911e12d923fc26dbf5378c8adb1a07b3a lua-projects-0.4.tar.gz"
diff --git a/main/lua-stringy/link-to-correct-lua-version.patch b/main/lua-stringy/link-to-correct-lua-version.patch
deleted file mode 100644
index e7ecc5d363..0000000000
--- a/main/lua-stringy/link-to-correct-lua-version.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- lua-projects-0.4/stringy/Makefile
-+++ lua-projects-0.4.libs/stringy/Makefile
-@@ -1,6 +1,7 @@
- LUA ?= lua5.1
- LUA_PC ?= lua5.1
- LUA_CFLAGS = $(shell pkg-config $(LUA_PC) --cflags)
-+LUA_LDFLAGS = $(shell pkg-config $(LUA_PC) --libs)
-
- CFLAGS ?= -O3 -Wall -Werror
-
-@@ -12,7 +13,7 @@
- stringy.o: fastsearch.h
-
- stringy.so: stringy.o stringy_test.lua
-- $(CC) -shared stringy.o -o $@
-+ $(CC) -shared $(LUA_LDFLAGS) stringy.o -o $@
- $(LUA) stringy_test.lua
-
- clean: