[arch-commits] Commit in luajson/repos (extra-any extra-any/PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Apr 3 07:38:48 UTC 2019


    Date: Wednesday, April 3, 2019 @ 07:38:47
  Author: heftig
Revision: 349795

archrelease: copy trunk to extra-any

Added:
  luajson/repos/extra-any/
  luajson/repos/extra-any/PKGBUILD
    (from rev 349794, luajson/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: luajson/repos/extra-any/PKGBUILD (from rev 349794, luajson/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2019-04-03 07:38:47 UTC (rev 349795)
@@ -0,0 +1,25 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Luca P <meti at lplab.net>
+
+pkgbase=luajson
+pkgname=(lua52-luajson)
+pkgver=1.3.4
+pkgrel=2
+pkgdesc="JSON parser/encoder for Lua"
+url="http://luaforge.net/projects/luajson/"
+arch=(any)
+license=(MIT)
+makedepends=(lua52-lpeg)
+source=(https://github.com/harningt/$pkgbase/archive/$pkgver.tar.gz)
+md5sums=('66ef8d00bcaeec91b25433a697090bc8')
+
+package_lua52-luajson() {
+  pkgdesc+=" 5.2"
+  depends=(lua52-lpeg)
+
+  cd $pkgbase-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" \
+    INSTALL_LMOD='$(INSTALL_TOP)/share/lua/5.2' \
+    INSTALL_CMOD='$(INSTALL_TOP)/lib/lua/5.2' install
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}


More information about the arch-commits mailing list