[arch-commits] Commit in lua-bitop/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sun May 10 00:58:13 UTC 2015


    Date: Sunday, May 10, 2015 @ 02:58:12
  Author: anatolik
Revision: 133150

lua52-bitop conflicts with current lua-bitop

Modified:
  lua-bitop/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-09 22:58:59 UTC (rev 133149)
+++ PKGBUILD	2015-05-10 00:58:12 UTC (rev 133150)
@@ -5,13 +5,14 @@
 
 pkgbase=lua-bitop
 # BitOp has not been ported to Lua5.3 so no lua-bitop package
+# https://www.freelists.org/post/luajit/Port-bitop-to-53
 pkgname=(lua51-bitop lua52-bitop)
 pkgver=1.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc='C extension adding bitwise operations on numbers'
 arch=('x86_64' 'i686')
 url='http://bitop.luajit.org/'
-makedepends=('lua' 'lua51' 'lua52')
+makedepends=('lua51' 'lua52')
 source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
 md5sums=('d0c1080fe0c844e8477279668e2d0d06')
 license=('MIT')
@@ -55,6 +56,8 @@
 
 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"



More information about the arch-commits mailing list