[arch-commits] Commit in lua-messagepack/repos (community-any community-any/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Jul 21 17:28:16 UTC 2015


    Date: Tuesday, July 21, 2015 @ 19:28:16
  Author: anatolik
Revision: 137226

archrelease: copy trunk to community-any

Added:
  lua-messagepack/repos/community-any/
  lua-messagepack/repos/community-any/PKGBUILD
    (from rev 137225, lua-messagepack/trunk/PKGBUILD)

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

Copied: lua-messagepack/repos/community-any/PKGBUILD (from rev 137225, lua-messagepack/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-07-21 17:28:16 UTC (rev 137226)
@@ -0,0 +1,47 @@
+# $Id$
+# Contributor: Florian Walch <florian+aur at fwalch.com>
+# Contributor: Florian Hahn <flo at fhahn.com>
+
+pkgbase=lua-messagepack
+pkgname=(lua51-messagepack lua52-messagepack lua-messagepack)
+pkgver=0.3.3
+pkgrel=2
+arch=(any)
+url='https://fperrad.github.io/lua-MessagePack'
+license=(MIT)
+checkdepends=(lua lua-testmore)
+source=(lua-messagepack-$pkgver.tar.gz::https://github.com/fperrad/lua-MessagePack/archive/$pkgver.tar.gz)
+sha256sums=('40e86eacac87f4deaa566cdefaaa1ec6ca90ad14a9419805ea90d069736cfda6')
+
+package_lua51-messagepack() {
+  pkgdesc='Implementation of MessagePack spec v5 for Lua 5.1'
+  depends=(lua51)
+
+  cd lua-MessagePack-${pkgver}
+  make LUAVER=5.1 PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-messagepack() {
+  pkgdesc='Implementation of MessagePack spec v5 for Lua 5.2'
+  depends=(lua52)
+
+  cd lua-MessagePack-$pkgver
+  make LUAVER=5.2 PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua-messagepack() {
+  pkgdesc='Implementation of MessagePack spec v5 for Lua 5.3'
+  depends=(lua)
+
+  cd lua-MessagePack-$pkgver
+  make LUAVER=5.3 PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+check() {
+  cd lua-MessagePack-$pkgver
+  make check
+}
+



More information about the arch-commits mailing list