[arch-commits] Commit in lua-bitop/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Tue May 5 15:32:56 UTC 2015
Date: Tuesday, May 5, 2015 @ 17:32:56
Author: anatolik
Revision: 132805
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
lua-bitop/repos/community-staging-i686/
lua-bitop/repos/community-staging-i686/PKGBUILD
(from rev 132804, lua-bitop/trunk/PKGBUILD)
lua-bitop/repos/community-staging-x86_64/
lua-bitop/repos/community-staging-x86_64/PKGBUILD
(from rev 132804, lua-bitop/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++++
2 files changed, 128 insertions(+)
Copied: lua-bitop/repos/community-staging-i686/PKGBUILD (from rev 132804, lua-bitop/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-05-05 15:32:56 UTC (rev 132805)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sébastien Luttringer
+# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
+
+pkgbase=lua-bitop
+# BitOp has not been ported to Lua5.3 so no lua-bitop package
+pkgname=(lua51-bitop lua52-bitop)
+pkgver=1.0.2
+pkgrel=6
+pkgdesc='C extension adding bitwise operations on numbers'
+arch=('x86_64' 'i686')
+url='http://bitop.luajit.org/'
+makedepends=('lua' 'lua51' 'lua52')
+source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
+md5sums=('d0c1080fe0c844e8477279668e2d0d06')
+license=('MIT')
+
+build() {
+ cp -a "LuaBitOp-$pkgver" "LuaBitOp51-$pkgver"
+ cp -a "LuaBitOp-$pkgver" "LuaBitOp52-$pkgver"
+
+ # msg2 'Building with lua 5.3'
+ # cd "LuaBitOp-$pkgver"
+ # make INCLUDES=' -I/usr/include' LUA='lua'
+
+ msg2 'Building with lua 5.2'
+ cd "$srcdir/LuaBitOp52-$pkgver"
+ make INCLUDES=' -I/usr/include/lua5.2' LUA='lua5.2'
+
+ msg2 'Building with lua 5.1'
+ cd "$srcdir/LuaBitOp51-$pkgver"
+ make INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
+}
+
+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/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-bitop() {
+ depends=('lua52')
+
+ 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 '../lua51/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+# vim:set ts=2 sw=2 et:
Copied: lua-bitop/repos/community-staging-x86_64/PKGBUILD (from rev 132804, lua-bitop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-05-05 15:32:56 UTC (rev 132805)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sébastien Luttringer
+# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
+
+pkgbase=lua-bitop
+# BitOp has not been ported to Lua5.3 so no lua-bitop package
+pkgname=(lua51-bitop lua52-bitop)
+pkgver=1.0.2
+pkgrel=6
+pkgdesc='C extension adding bitwise operations on numbers'
+arch=('x86_64' 'i686')
+url='http://bitop.luajit.org/'
+makedepends=('lua' 'lua51' 'lua52')
+source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
+md5sums=('d0c1080fe0c844e8477279668e2d0d06')
+license=('MIT')
+
+build() {
+ cp -a "LuaBitOp-$pkgver" "LuaBitOp51-$pkgver"
+ cp -a "LuaBitOp-$pkgver" "LuaBitOp52-$pkgver"
+
+ # msg2 'Building with lua 5.3'
+ # cd "LuaBitOp-$pkgver"
+ # make INCLUDES=' -I/usr/include' LUA='lua'
+
+ msg2 'Building with lua 5.2'
+ cd "$srcdir/LuaBitOp52-$pkgver"
+ make INCLUDES=' -I/usr/include/lua5.2' LUA='lua5.2'
+
+ msg2 'Building with lua 5.1'
+ cd "$srcdir/LuaBitOp51-$pkgver"
+ make INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
+}
+
+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/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-bitop() {
+ depends=('lua52')
+
+ 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 '../lua51/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list