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

Antonio Rojas arojas at archlinux.org
Sun Apr 1 09:07:38 UTC 2018


    Date: Sunday, April 1, 2018 @ 09:07:37
  Author: arojas
Revision: 313713

archrelease: copy trunk to community-any

Added:
  luarocks/repos/community-any/PKGBUILD
    (from rev 313712, luarocks/trunk/PKGBUILD)
Deleted:
  luarocks/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  208 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 104 insertions(+), 104 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-01 09:07:16 UTC (rev 313712)
+++ PKGBUILD	2018-04-01 09:07:37 UTC (rev 313713)
@@ -1,104 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
-
-pkgbase=luarocks
-pkgname=('luarocks' 'luarocks5.1' 'luarocks5.2')
-pkgver=2.4.3
-pkgrel=1
-arch=('any')
-url='http://luarocks.org/'
-license=('custom')
-depends=('unzip' 'zip' 'curl')
-makedepends=('lua' 'lua51' 'lua52')
-optdepends=('cvs: for fetching sources from CVS repositories'
-            'git: for fetching sources from git repositories'
-            'mercurial: for fetching sources from mercurial repositories'
-            'cmake: for building rocks that use the cmake build system')
-options=('!makeflags')
-source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('37bb60fe084ca4f6c871d31bd248d5cc')
-
-prepare() {
-  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
-  cp -r $pkgbase-$pkgver ${pkgbase}5.2-$pkgver
-}
-
-build() {
-
-  cd $pkgbase-$pkgver
-  LUA_VERSION= ./configure --prefix=/usr \
-    --sysconfdir=/etc/luarocks \
-    --lua-version=5.3 \
-    --with-lua-include=/usr/include \
-    --with-downloader=curl \
-    --versioned-rocks-dir
-  make
-
-  cd ../${pkgbase}5.1-$pkgver
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc/luarocks \
-    --lua-version=5.1 \
-    --lua-suffix=5.1 \
-    --with-lua-include=/usr/include/lua5.1 \
-    --with-downloader=curl \
-    --versioned-rocks-dir
-  make
-  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
-
-  cd ../${pkgbase}5.2-$pkgver
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc/luarocks \
-    --lua-version=5.2 \
-    --lua-suffix=5.2 \
-    --with-lua-include=/usr/include/lua5.2 \
-    --with-downloader=curl \
-    --versioned-rocks-dir
-  make
-  sed -i 's/env lua/env lua5.2/' src/bin/luarocks{,-admin}
-}
-
-package_luarocks() {
-  pkgdesc='Deployment and management system for Lua 5.3 modules'
-  backup=('etc/luarocks/config-5.3.lua')
-  depends+=('lua')
-  optdepends+=('lua-sec: HTTPS support')
-
-  cd $pkgname-$pkgver
-  make install DESTDIR="$pkgdir"
-  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # FS#40388
-  sed -i '/^LUAROCKS_UNAME_M/d' "$pkgdir"/usr/share/lua/5.3/luarocks/site_config.lua
-}
-
-package_luarocks5.1() {
-  pkgdesc='Deployment and management system for Lua 5.1 modules'
-  backup=('etc/luarocks/config-5.1.lua')
-  depends+=('lua51')
-  optdepends+=('lua51-sec: HTTPS support')
-
-  cd $pkgname-$pkgver
-  make install DESTDIR="$pkgdir"
-  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  rm "$pkgdir"/usr/bin/luarocks{,-admin}
-
-  # FS#40388
-  sed -i '/^LUAROCKS_UNAME_M/d' "$pkgdir"/usr/share/lua/5.1/luarocks/site_config.lua
-}
-
-package_luarocks5.2() {
-  pkgdesc='Deployment and management system for Lua 5.2 modules'
-  backup=('etc/luarocks/config-5.2.lua')
-  depends+=('lua52')
-  optdepends+=('lua52-sec: HTTPS support')
-
-  cd $pkgname-$pkgver
-  make install DESTDIR="$pkgdir"
-  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  rm "$pkgdir"/usr/bin/luarocks{,-admin}
-
-  # FS#40388
-  sed -i '/^LUAROCKS_UNAME_M/d' "$pkgdir"/usr/share/lua/5.2/luarocks/site_config.lua
-}

Copied: luarocks/repos/community-any/PKGBUILD (from rev 313712, luarocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-01 09:07:37 UTC (rev 313713)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+
+pkgbase=luarocks
+pkgname=('luarocks' 'luarocks5.1' 'luarocks5.2')
+pkgver=2.4.4
+pkgrel=1
+arch=('any')
+url='http://luarocks.org/'
+license=('custom')
+depends=('unzip' 'zip' 'curl')
+makedepends=('lua' 'lua51' 'lua52')
+optdepends=('cvs: for fetching sources from CVS repositories'
+            'git: for fetching sources from git repositories'
+            'mercurial: for fetching sources from mercurial repositories'
+            'cmake: for building rocks that use the cmake build system')
+options=('!makeflags')
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('04e8b19d565e86b1d08f745adc4b1a56')
+
+prepare() {
+  cp -r $pkgbase-$pkgver ${pkgbase}5.1-$pkgver
+  cp -r $pkgbase-$pkgver ${pkgbase}5.2-$pkgver
+}
+
+build() {
+
+  cd $pkgbase-$pkgver
+  LUA_VERSION= ./configure --prefix=/usr \
+    --sysconfdir=/etc/luarocks \
+    --lua-version=5.3 \
+    --with-lua-include=/usr/include \
+    --with-downloader=curl \
+    --versioned-rocks-dir
+  make
+
+  cd ../${pkgbase}5.1-$pkgver
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc/luarocks \
+    --lua-version=5.1 \
+    --lua-suffix=5.1 \
+    --with-lua-include=/usr/include/lua5.1 \
+    --with-downloader=curl \
+    --versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.1/' src/bin/luarocks{,-admin}
+
+  cd ../${pkgbase}5.2-$pkgver
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc/luarocks \
+    --lua-version=5.2 \
+    --lua-suffix=5.2 \
+    --with-lua-include=/usr/include/lua5.2 \
+    --with-downloader=curl \
+    --versioned-rocks-dir
+  make
+  sed -i 's/env lua/env lua5.2/' src/bin/luarocks{,-admin}
+}
+
+package_luarocks() {
+  pkgdesc='Deployment and management system for Lua 5.3 modules'
+  backup=('etc/luarocks/config-5.3.lua')
+  depends+=('lua')
+  optdepends+=('lua-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' "$pkgdir"/usr/share/lua/5.3/luarocks/site_config.lua
+}
+
+package_luarocks5.1() {
+  pkgdesc='Deployment and management system for Lua 5.1 modules'
+  backup=('etc/luarocks/config-5.1.lua')
+  depends+=('lua51')
+  optdepends+=('lua51-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' "$pkgdir"/usr/share/lua/5.1/luarocks/site_config.lua
+}
+
+package_luarocks5.2() {
+  pkgdesc='Deployment and management system for Lua 5.2 modules'
+  backup=('etc/luarocks/config-5.2.lua')
+  depends+=('lua52')
+  optdepends+=('lua52-sec: HTTPS support')
+
+  cd $pkgname-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/usr/bin/luarocks{,-admin}
+
+  # FS#40388
+  sed -i '/^LUAROCKS_UNAME_M/d' "$pkgdir"/usr/share/lua/5.2/luarocks/site_config.lua
+}



More information about the arch-commits mailing list