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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Tue Jan 21 17:41:14 UTC 2014


    Date: Tuesday, January 21, 2014 @ 18:41:14
  Author: bpiotrowski
Revision: 104484

upgpkg: luafilesystem 1.6.2-3

rebuild for the sake of rebuilding

Modified:
  luafilesystem/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-21 17:38:13 UTC (rev 104483)
+++ PKGBUILD	2014-01-21 17:41:14 UTC (rev 104484)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Chris Brannon <cmbrannon79 at gmail.com>
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
 # Contributor: Paulo Matias <matiasΘarchlinux-br·org>
 # Contributor: Anders Bergh <anders1 at gmail.com>
 
@@ -6,7 +7,7 @@
 pkgbase=luafilesystem
 pkgname=(lua-filesystem lua51-filesystem)
 pkgver=1.6.2
-pkgrel=2
+pkgrel=3
 pkgdesc='File System Library for the Lua Programming Language'
 arch=('i686' 'x86_64')
 url='http://www.keplerproject.org/luafilesystem/'
@@ -18,12 +19,13 @@
          'beb2b58c4b5c2782304a5b0267a5651b')
 
 build() {
-  msg2 "Building $pkgbase with lua 5.1"
+  msg2 "Building $pkgbase with Lua 5.1"
   cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51
   cd $pkgbase-$pkgver-51
   make LUA_INC=/usr/include/lua5.1
-  msg2 "Building $pkgbase with lua 5.2"
-  cd "$srcdir/$pkgbase-$pkgver"
+
+  msg2 "Building $pkgbase with Lua 5.2"
+  cd "$srcdir"/$pkgbase-$pkgver
   make
 }
 
@@ -31,8 +33,8 @@
   depends=('lua')
 
   cd $pkgbase-$pkgver
-  make PREFIX=$pkgdir/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.2' install
-  install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  make PREFIX="$pkgdir"/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.2' install
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 package_lua51-filesystem() {
@@ -41,6 +43,6 @@
   replaces=('luafilesystem')
 
   cd $pkgbase-$pkgver-51
-  make PREFIX=$pkgdir/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.1' install
-  install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  make PREFIX="$pkgdir"/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.1' install
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list