Date: Thursday, February 22, 2018 @ 18:21:19
  Author: svenstaro
Revision: 297100

archrelease: copy trunk to community-x86_64

Added:
  lua-mpack/repos/community-x86_64/PKGBUILD
    (from rev 297099, lua-mpack/trunk/PKGBUILD)
Deleted:
  lua-mpack/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-22 18:21:14 UTC (rev 297099)
+++ PKGBUILD    2018-02-22 18:21:19 UTC (rev 297100)
@@ -1,58 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
-# Contributor: Florian Walch <florian+...@fwalch.com>
-
-pkgbase=lua-mpack
-pkgname=('lua51-mpack')
-pkgver=1.0.7
-pkgdesc="libmpack lua binding"
-pkgrel=1
-arch=('x86_64')
-url='https://github.com/libmpack/libmpack-lua'
-depends=('libmpack')
-makedepends=('lua51' 'lua52' 'lua')
-license=('MIT')
-source=("libmpack-lua-${pkgver}.tar.gz::https://github.com/libmpack/libmpack-lua/archive/${pkgver}.tar.gz";)
-sha256sums=('2ebe9c8972c378040c9b8505f5fb40a0c64d990cd68be6a62989362b18294d0a')
-
-build() {
-  cd "libmpack-lua-${pkgver}"
-
-  gcc -O2 -fPIC -DMPACK_USE_SYSTEM -I/usr/include/lua5.1 -c lmpack.c -o 
lmpack.o
-  gcc -shared -lmpack -o mpack.so.5.1 lmpack.o
-
-  # Broken currently
-  # gcc -O2 -fPIC -I/usr/include/lua5.2 -c lmpack.c -o lmpack.o
-  # gcc -shared -o mpack.so.5.2 lmpack.o
-  #
-  # gcc -O2 -fPIC -I/usr/include -c lmpack.c -o lmpack.o
-  # gcc -shared -o mpack.so.5.3 lmpack.o
-}
-
-package_lua51-mpack() {
-  pkgdesc='Simple implementation of msgpack in C Lua 5.1'
-  depends=('lua51')
-
-  cd "libmpack-lua-${pkgver}"
-  install -Dm755 mpack.so.5.1 "${pkgdir}/usr/lib/lua/5.1/mpack.so"
-  install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# package_lua52-mpack() {
-#   pkgdesc='Simple implementation of msgpack in C Lua 5.2'
-#   depends=('lua52')
-#
-#   cd "${srcdir}/libmpack-${pkgver}"
-#   install -Dm755 mpack.so.5.3 "${pkgdir}/usr/lib/lua/5.2/mpack.so"
-#   install -Dm644 LICENSE-MIT 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-# }
-#
-# package_lua-mpack() {
-#   pkgdesc='Simple implementation of msgpack in C Lua 5.3'
-#   depends=('lua')
-#
-#   cd "${srcdir}/libmpack-${pkgver}"
-#   install -Dm755 mpack.so.5.3 "${pkgdir}/usr/lib/lua/5.3/mpack.so"
-#   install -Dm644 LICENSE-MIT 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-# }
-
-# vim:set sw=2 sts=2 et:

Copied: lua-mpack/repos/community-x86_64/PKGBUILD (from rev 297099, 
lua-mpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-22 18:21:19 UTC (rev 297100)
@@ -0,0 +1,57 @@
+# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
+# Contributor: Florian Walch <florian+...@fwalch.com>
+
+pkgbase=lua-mpack
+pkgname=(lua51-mpack lua52-mpack lua-mpack)
+pkgver=1.0.7
+pkgdesc="libmpack lua binding"
+pkgrel=2
+arch=('x86_64')
+url='https://github.com/libmpack/libmpack-lua'
+depends=('libmpack')
+makedepends=('lua51' 'lua52' 'lua')
+license=('MIT')
+source=("libmpack-lua-${pkgver}.tar.gz::https://github.com/libmpack/libmpack-lua/archive/${pkgver}.tar.gz";)
+sha256sums=('2ebe9c8972c378040c9b8505f5fb40a0c64d990cd68be6a62989362b18294d0a')
+
+build() {
+  cd "libmpack-lua-${pkgver}"
+
+  gcc -O2 -fPIC -DMPACK_USE_SYSTEM -I/usr/include/lua5.1 -c lmpack.c -o 
lmpack.o
+  gcc -shared -lmpack -o mpack.so.5.1 lmpack.o
+
+  gcc -O2 -fPIC -DMPACK_USE_SYSTEM -I/usr/include/lua5.2 -c lmpack.c -o 
lmpack.o
+  gcc -shared -lmpack -o mpack.so.5.2 lmpack.o
+
+  gcc -O2 -fPIC -DMPACK_USE_SYSTEM -I/usr/include -c lmpack.c -o lmpack.o
+  gcc -shared -lmpack -o mpack.so.5.3 lmpack.o
+}
+
+package_lua51-mpack() {
+  pkgdesc='Simple implementation of msgpack in C Lua 5.1'
+  depends+=('lua51')
+
+  cd "libmpack-lua-${pkgver}"
+  install -Dm755 mpack.so.5.1 "${pkgdir}/usr/lib/lua/5.1/mpack.so"
+  install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_lua52-mpack() {
+  pkgdesc='Simple implementation of msgpack in C Lua 5.2'
+  depends+=('lua52')
+
+  cd "libmpack-lua-${pkgver}"
+  install -Dm755 mpack.so.5.2 "${pkgdir}/usr/lib/lua/5.2/mpack.so"
+  install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_lua-mpack() {
+  pkgdesc='Simple implementation of msgpack in C Lua 5.3'
+  depends+=('lua')
+
+  cd "libmpack-lua-${pkgver}"
+  install -Dm755 mpack.so.5.3 "${pkgdir}/usr/lib/lua/5.3/mpack.so"
+  install -Dm644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set sw=2 sts=2 et:

Reply via email to