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

Ionut Biru ibiru at archlinux.org
Sat Jan 14 12:13:04 UTC 2012


    Date: Saturday, January 14, 2012 @ 07:13:03
  Author: ibiru
Revision: 146615

update to 1.30.1

Modified:
  gjs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-14 11:49:10 UTC (rev 146614)
+++ PKGBUILD	2012-01-14 12:13:03 UTC (rev 146615)
@@ -1,7 +1,8 @@
 # $Id$
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
+
 pkgname=gjs
-pkgver=1.30.0
+pkgver=1.30.1
 pkgrel=1
 pkgdesc="Javascript Bindings for GNOME"
 arch=('i686' 'x86_64')
@@ -9,17 +10,17 @@
 license=('GPL')
 depends=('cairo' 'dbus-glib' 'gobject-introspection' 'js')
 options=('!libtool')
-source=(http://download.gnome.org/sources/${pkgname}/1.30/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('ffe01980dd183abd96b2cc861d2e86ef12751d0a1af86daa4c491b82c74ac7b9')
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('f5db07ddf70458a33a5d0bdf83f84070fc234237ecb0d49a8676e67b52119a05')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$srcdir/$pkgname-$pkgver"
   sed -i 's|python|python2|' scripts/make-tests
   ./configure --prefix=/usr --disable-static
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list