Skip to content

Instantly share code, notes, and snippets.

@zopieux
Created June 20, 2015 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zopieux/c84bc1fd9f994338f0d4 to your computer and use it in GitHub Desktop.
Save zopieux/c84bc1fd9f994338f0d4 to your computer and use it in GitHub Desktop.
AUR lua-cjson PKGBUILD patch
--- a/PKGBUILD 2013-06-01 18:03:30.000000000 +0200
+++ b/PKGBUILD 2015-06-20 18:57:39.046300329 +0200
@@ -2,7 +2,7 @@
pkgname=lua-cjson
pkgver=2.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="A fast JSON parsing and encoding support for Lua."
arch=(i686 x86_64)
url="http://www.kyne.com.au/~mark/software/lua-cjson.php"
@@ -14,12 +14,12 @@
build() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr LUA_VERSION=5.2
+ make PREFIX=/usr LUA_VERSION=5.3
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr DESTDIR="$pkgdir/" LUA_VERSION=5.2 install{,-extra}
+ make PREFIX=/usr DESTDIR="$pkgdir/" LUA_VERSION=5.3 install{,-extra}
# license
install -Dm644 LICENSE \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment