[arch-commits] Commit in lua/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Jul 10 15:26:27 UTC 2018


    Date: Tuesday, July 10, 2018 @ 15:26:26
  Author: anatolik
Revision: 328221

upgpkg: lua 5.3.5-1

Modified:
  lua/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-10 13:46:04 UTC (rev 328220)
+++ PKGBUILD	2018-07-10 15:26:26 UTC (rev 328221)
@@ -4,9 +4,9 @@
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=lua
-pkgver=5.3.4
+pkgver=5.3.5
 _majorver=${pkgver%.*}
-pkgrel=2
+pkgrel=1
 pkgdesc='Powerful lightweight programming language designed for extending applications'
 arch=('x86_64')
 url='http://www.lua.org/'
@@ -17,7 +17,7 @@
         liblua.so.patch
         lua.pc
         LICENSE)
-sha1sums=('79790cfd40e09ba796b01a571d4d63b52b1cd950'
+sha1sums=('112eb10ff04d1b4c9898e121d6bdf54a81482447'
           'cb7b28999970358e03bffcb58578a651bf9b287e'
           '1aee8d1a219639d0efc534e483ffa1ee236fb393'
           '05f5f3b7bef0258bd617c505b8992de639af4551')
@@ -27,6 +27,9 @@
   patch -p1 -i ../liblua.so.patch
 
   sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+
+  # Lua 5.3.4 has wrong release version in its Makefile. Fix it.
+  sed "s/^R= \$V.4/R= \$V.5/" -i Makefile
 }
 
 build() {



More information about the arch-commits mailing list