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

Alexander Rødseth arodseth at archlinux.org
Mon Feb 9 21:11:05 UTC 2015


    Date: Monday, February 9, 2015 @ 22:11:04
  Author: arodseth
Revision: 127434

upgpkg: lua-bitop 1.0.2-5

Modified:
  lua-bitop/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-09 20:57:04 UTC (rev 127433)
+++ PKGBUILD	2015-02-09 21:11:04 UTC (rev 127434)
@@ -9,7 +9,7 @@
 pkgrel=5
 pkgdesc='C extension adding bitwise operations on numbers'
 arch=('x86_64' 'i686')
-url='http://bitop.luajit.org/index.html'
+url='http://bitop.luajit.org/'
 makedepends=('lua' 'lua51')
 source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
 md5sums=('d0c1080fe0c844e8477279668e2d0d06')
@@ -16,14 +16,14 @@
 license=('MIT')
 
 build() {
-  cp -a LuaBitOp-$pkgver LuaBitOp51-$pkgver
+  cp -a "LuaBitOp-$pkgver" "LuaBitOp51-$pkgver"
 
   msg2 'Building with lua 5.2'
-  cd LuaBitOp-$pkgver
+  cd "LuaBitOp-$pkgver"
   make INCLUDES=' -I/usr/include' LUA='lua'
 
   msg2 'Building with lua 5.1'
-  cd ../LuaBitOp51-$pkgver
+  cd "../LuaBitOp51-$pkgver"
   make INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
 }
 
@@ -30,7 +30,7 @@
 package_lua-bitop() {
   depends=('lua')
 
-  cd LuaBitOp-$pkgver
+  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/LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
@@ -41,7 +41,7 @@
   conflicts=('luabitop')
   replaces=('luabitop')
 
-  cd LuaBitOp51-$pkgver
+  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"



More information about the arch-commits mailing list