Date: Monday, December 26, 2022 @ 08:24:34
  Author: alerque
Revision: 1367453

upgpkg: lua-luautf8 0.1.5-2; patch reference to previous release sources

Modified:
  lua-luautf8/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-26 08:19:00 UTC (rev 1367452)
+++ PKGBUILD    2022-12-26 08:24:34 UTC (rev 1367453)
@@ -5,7 +5,7 @@
 pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
 pkgver=0.1.5
 _rockrel=1
-pkgrel=1
+pkgrel=2
 pkgdesc='Add UTF-8 support to Lua, compatible with Lua string module'
 arch=(x86_64)
 url="https://github.com/starwing/$_rockname";
@@ -22,6 +22,11 @@
 source=("$url/archive/$pkgver/$_archive.tar.gz")
 sha256sums=('f4bddecc87521c53d37c09b9e9edd70a4ab35b0074040f303cbe3a0e088af21c')
 
+prepare() {
+       cd "$_archive"
+       sed -e "s/0\.1\.4/$pkgver/g" -u "rockspecs/$_rockspec"
+}
+
 build() {
        cd "$_archive"
        for LUAVER in 5.{1,2,3,4}; do

Reply via email to