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

Ionut Biru ibiru at archlinux.org
Fri Mar 9 16:26:58 EST 2012


    Date: Friday, March 9, 2012 @ 16:26:57
  Author: ibiru
Revision: 152846

update to 3.3.5

Modified:
  gnome-menus/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-09 20:43:02 UTC (rev 152845)
+++ PKGBUILD	2012-03-09 21:26:57 UTC (rev 152846)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jan at archlinux.org>
 
 pkgname=gnome-menus
-pkgver=3.2.0.1
+pkgver=3.3.5
 pkgrel=1
 pkgdesc="GNOME menu specifications"
 arch=('i686' 'x86_64')
@@ -11,13 +11,13 @@
 options=('!libtool')
 license=('GPL' 'LGPL')
 url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.2/${pkgname}-${pkgver}.tar.xz
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
         menus.patch)
-sha256sums=('17e2ea745b1e80fba4f6ec03c4bac561aa6e7ca275fcc79a3df3d318cb64972b'
+sha256sums=('92f640bdb96dacbfcbf183bac1657cc52dd2ddf866b4b33504d01719dbd951d5'
             'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
 
   patch -Np0 -i "$srcdir/menus.patch"
 
@@ -28,8 +28,8 @@
 }
 
 package(){
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 
   sed -i "1s|#!/usr/bin/env python$|&2|" \
     "$pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py"



More information about the arch-commits mailing list