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

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


    Date: Tuesday, January 21, 2014 @ 18:50:00
  Author: bpiotrowski
Revision: 104486

upgpkg: luakit 2012.09.13.r1-6

rebuild for the sake of rebuilding

Modified:
  luakit/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-21 17:41:26 UTC (rev 104485)
+++ PKGBUILD	2014-01-21 17:50:00 UTC (rev 104486)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer:  Bartłomiej Piotrowski
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 # Contributor: Thomas Dziedzic < gostrc at gmail >
 # Contributor: J. W. Birdsong <jwbirdsong AT gmail DOT com>
 
@@ -6,30 +6,31 @@
 pkgname=luakit
 pkgver=2012.09.13.r1
 _pkgver=2012.09.13-r1
-pkgrel=5
-pkgdesc='Fast, small, webkit based browser framework extensible by Lua'
+pkgrel=6
+pkgdesc='Fast, small, Webkit based browser framework extensible by Lua'
 arch=('i686' 'x86_64')
 url='http://mason-larobina.github.com/luakit/'
 license=('GPL3')
 depends=('webkitgtk2' 'lua51-filesystem' 'libunique' 'desktop-file-utils' 'luajit')
-makedepends=('git' 'help2man')
+makedepends=('help2man')
 options=(!makeflags)
 install='luakit.install'
 source=($pkgname-$pkgver.tar.gz::https://github.com/mason-larobina/luakit/tarball/$_pkgver)
 md5sums=('77b02e6d19ba021409f1778fddd94a42')
 
-build() {
+prepare() {
   cd mason-larobina-luakit-*
-
-  # use luajit to run script needed at build
   sed -i '1s,lua,luajit,' build-utils/gentokens.lua
+}
 
+build() {
+  cd mason-larobina-luakit-*
   make USE_LUAJIT=1 PREFIX=/usr all
 }
 
 package() {
   cd mason-larobina-luakit-*
-  make PREFIX=/usr DESTDIR=$pkgdir install 
+  make PREFIX=/usr DESTDIR="$pkgdir" install
 
-  chmod -x $pkgdir/usr/share/pixmaps/luakit.png # FS#32938
+  chmod -x "$pkgdir"/usr/share/pixmaps/luakit.png # FS#32938
 }




More information about the arch-commits mailing list