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

Jan Steffens heftig at archlinux.org
Fri Mar 30 08:56:15 EDT 2012


    Date: Friday, March 30, 2012 @ 08:56:15
  Author: heftig
Revision: 154612

3.4.0

Modified:
  ghex/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-30 12:44:52 UTC (rev 154611)
+++ PKGBUILD	2012-03-30 12:56:15 UTC (rev 154612)
@@ -3,7 +3,7 @@
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=ghex
-pkgver=3.0.0
+pkgver=3.4.0
 pkgrel=1
 pkgdesc="A simple binary editor for the Gnome desktop"
 arch=('i686' 'x86_64')
@@ -13,11 +13,11 @@
 makedepends=('intltool' 'gnome-doc-utils')
 options=('!libtool' '!emptydirs')
 install=ghex.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/ghex/3.0/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('c1b44a962ff1d6c7f1ad012ef1971a227e6d00a0de6f1275cbb714db1a96c674')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
+sha256sums=('59e409cc629fddeb06552c505b60be1d20274cea75eb22f1d65d7ca0aaf1e64d')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-static \
       --disable-schemas-compile
@@ -25,6 +25,6 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list