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

Daurnimator daurnimator at archlinux.org
Wed May 1 14:31:48 UTC 2019


    Date: Wednesday, May 1, 2019 @ 14:31:47
  Author: daurnimator
Revision: 457421

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 44 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-01 14:08:48 UTC (rev 457420)
+++ PKGBUILD	2019-05-01 14:31:47 UTC (rev 457421)
@@ -1,40 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
-
-pkgname=luarocks
-pkgver=3.0.4
-pkgrel=2
-pkgdesc='Deployment and management system for Lua modules'
-backup=(etc/luarocks/config-5.{1,2,3}.lua)
-arch=('any')
-url='https://luarocks.org/'
-license=('custom')
-replaces=('luarocks5.1' 'luarocks5.2')
-depends=('unzip' 'zip' 'curl' 'lua')
-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'
-            'lua-sec: HTTPS support')
-source=("https://luarocks.org/releases/$pkgname-$pkgver.tar.gz"{,.asc})
-md5sums=('b67be533e0e027a26e3fd2b566ac938f'
-         'SKIP')
-validpgpkeys=('8460980B2B79786DE0C7FCC83FD8F43C2BB3C478')
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make ./build/luarocks ./build/luarocks-admin ./build/config-5.3.lua
-  make LUA_VERSION=5.1 LUA_INTERPRETER=lua5.1 LUA_INCDIR=/usr/include/lua5.1 ./build/config-5.1.lua
-  make LUA_VERSION=5.2 LUA_INTERPRETER=lua5.2 LUA_INCDIR=/usr/include/lua5.2 ./build/config-5.2.lua
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  make DESTDIR="$pkgdir" LUA_VERSION=5.1 install-config
-  make DESTDIR="$pkgdir" LUA_VERSION=5.2 install-config
-  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: luarocks/repos/community-any/PKGBUILD (from rev 457420, luarocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-01 14:31:47 UTC (rev 457421)
@@ -0,0 +1,44 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+
+pkgname=luarocks
+pkgver=3.1.0
+pkgrel=1
+pkgdesc='Deployment and management system for Lua modules'
+backup=(etc/luarocks/config-5.{1,2,3}.lua)
+arch=('any')
+url='https://luarocks.org/'
+license=('custom')
+replaces=('luarocks5.1' 'luarocks5.2')
+depends=('coreutils' # need chmod, md5sum
+         'curl' # need one of curl or wget
+         'lua'
+         'unzip' # need unzip and zip or lua-zlib
+         'zip')
+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'
+            'lua-sec: HTTPS support')
+source=("https://luarocks.org/releases/$pkgname-$pkgver.tar.gz"{,.asc})
+md5sums=('55d1a6d4e5e975dae481ce70c306a029'
+         'SKIP')
+validpgpkeys=('8460980B2B79786DE0C7FCC83FD8F43C2BB3C478')
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make ./build/luarocks ./build/luarocks-admin ./build/config-5.3.lua
+  make LUA_VERSION=5.1 LUA_INTERPRETER=lua5.1 LUA_INCDIR=/usr/include/lua5.1 ./build/config-5.1.lua
+  make LUA_VERSION=5.2 LUA_INTERPRETER=lua5.2 LUA_INCDIR=/usr/include/lua5.2 ./build/config-5.2.lua
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" LUA_VERSION=5.1 install-config
+  make DESTDIR="$pkgdir" LUA_VERSION=5.2 install-config
+  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list