[arch-commits] Commit in luabitop/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon Feb 9 20:45:01 UTC 2015
Date: Monday, February 9, 2015 @ 21:45:01
Author: arodseth
Revision: 127430
Fix for FS#43734
Modified:
luabitop/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-09 20:39:44 UTC (rev 127429)
+++ PKGBUILD 2015-02-09 20:45:01 UTC (rev 127430)
@@ -1,13 +1,14 @@
# $Id$
-# Maintainer: Sébastien Luttringer
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Sébastien Luttringer
# Contributor: Lucas Hermann Negri <kkndrox at gmail.com>
-pkgbase=luabitop
+pkgbase=lua-bitop
pkgname=(lua-bitop lua51-bitop)
pkgver=1.0.2
-pkgrel=3
+pkgrel=5
pkgdesc='C extension adding bitwise operations on numbers'
-arch=(i686 x86_64)
+arch=('x86_64' 'i686')
url='http://bitop.luajit.org/index.html'
makedepends=('lua' 'lua51')
source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
@@ -16,9 +17,11 @@
build() {
cp -a LuaBitOp-$pkgver LuaBitOp51-$pkgver
+
msg2 'Building with lua 5.2'
cd LuaBitOp-$pkgver
make INCLUDES=' -I/usr/include' LUA='lua'
+
msg2 'Building with lua 5.1'
cd ../LuaBitOp51-$pkgver
make INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
@@ -26,10 +29,11 @@
package_lua-bitop() {
depends=('lua')
+
cd LuaBitOp-$pkgver
install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.2/bit.so"
install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
- ln -s '../lua/COPYRIGHT' "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+ ln -s '../lua/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_lua51-bitop() {
@@ -36,10 +40,11 @@
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/COPYRIGHT"
+ 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