[arch-commits] Commit in lua-bitop/repos/community-x86_64 (LICENSE PKGBUILD PKGBUILD)

Daurnimator daurnimator at archlinux.org
Sat May 9 10:01:15 UTC 2020


    Date: Saturday, May 9, 2020 @ 10:01:14
  Author: daurnimator
Revision: 625923

archrelease: copy trunk to community-x86_64

Added:
  lua-bitop/repos/community-x86_64/LICENSE
    (from rev 625922, lua-bitop/trunk/LICENSE)
  lua-bitop/repos/community-x86_64/PKGBUILD
    (from rev 625922, lua-bitop/trunk/PKGBUILD)
Deleted:
  lua-bitop/repos/community-x86_64/PKGBUILD

----------+
 LICENSE  |   19 +++++++++++
 PKGBUILD |  102 +++++++++++++++++++++++++------------------------------------
 2 files changed, 62 insertions(+), 59 deletions(-)

Copied: lua-bitop/repos/community-x86_64/LICENSE (from rev 625922, lua-bitop/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-05-09 10:01:14 UTC (rev 625923)
@@ -0,0 +1,19 @@
+Copyright (C) 2008-2012 Mike Pall
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 10:00:06 UTC (rev 625922)
+++ PKGBUILD	2020-05-09 10:01:14 UTC (rev 625923)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Sébastien Luttringer
-# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
-
-pkgbase=lua-bitop
-pkgname=(lua51-bitop lua52-bitop)
-pkgver=1.0.2
-pkgrel=8
-pkgdesc='Bitwise operations on numbers'
-arch=('x86_64' 'i686')
-license=('MIT')
-url='https://bitop.luajit.org/'
-makedepends=('lua51' 'lua52')
-source=("https://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
-sha256sums=('1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99')
-
-prepare() {
-  cp -a "LuaBitOp-$pkgver" "LuaBitOp51-$pkgver"
-  cp -a "LuaBitOp-$pkgver" "LuaBitOp52-$pkgver"
-}
-
-build() {
-  make -C "LuaBitOp51-$pkgver" INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
-  make -C "LuaBitOp52-$pkgver" INCLUDES=' -I/usr/include/lua5.2' LUA='lua5.2'
-}
-
-package_lua-bitop() {
-  depends=('lua')
-
-  cd "LuaBitOp-$pkgver"
-  install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.3/bit.so"
-  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
-  ln -s '../lua/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_lua51-bitop() {
-  depends=('lua51')
-  conflicts=('luabitop')
-  replaces=('luabitop')
-
-  cd "LuaBitOp51-$pkgver"
-  install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.1/bit.so"
-  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
-  ln -s '../lua51/COPYRIGHT' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_lua52-bitop() {
-  depends=('lua52')
-  conflicts=('lua-bitop')
-  replaces=('lua-bitop')
-
-  cd "LuaBitOp52-$pkgver"
-  install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.2/bit.so"
-  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
-  ln -s '../lua52/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:ts=2 sw=2 et:

Copied: lua-bitop/repos/community-x86_64/PKGBUILD (from rev 625922, lua-bitop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-09 10:01:14 UTC (rev 625923)
@@ -0,0 +1,43 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Sébastien Luttringer
+# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
+
+pkgbase=lua-bitop
+pkgname=(lua51-bitop lua52-bitop)
+pkgver=1.0.2
+pkgrel=9
+pkgdesc='Bitwise operations on numbers'
+arch=('x86_64')
+license=('MIT')
+url='https://bitop.luajit.org/'
+makedepends=('lua51' 'lua52')
+source=("https://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz"
+        "LICENSE")
+sha256sums=('1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99'
+            'dac73bcdefc05b065d36487f43a629684615051973d10f21e0fa4305e8557e5a')
+
+prepare() {
+  cp -a "LuaBitOp-$pkgver" "LuaBitOp51-$pkgver"
+  cp -a "LuaBitOp-$pkgver" "LuaBitOp52-$pkgver"
+}
+
+build() {
+  make -C "LuaBitOp51-$pkgver" INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
+  make -C "LuaBitOp52-$pkgver" INCLUDES=' -I/usr/include/lua5.2' LUA='lua5.2'
+}
+
+check() {
+  make -C "LuaBitOp51-$pkgver" LUA='lua5.1' test
+  make -C "LuaBitOp52-$pkgver" LUA='lua5.2' test
+}
+
+package_lua51-bitop() {
+  install -Dm 644 "LuaBitOp51-$pkgver/bit.so" "$pkgdir/usr/lib/lua/5.1/bit.so"
+  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-bitop() {
+  install -Dm 644 "LuaBitOp52-$pkgver/bit.so" "$pkgdir/usr/lib/lua/5.2/bit.so"
+  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list