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

Eric Bélanger eric at nymeria.archlinux.org
Sat Aug 10 01:58:08 UTC 2013


    Date: Saturday, August 10, 2013 @ 03:58:07
  Author: eric
Revision: 192309

upgpkg: grip 3.3.1-10

Fix url, Add prepare function

Modified:
  grip/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-10 01:22:26 UTC (rev 192308)
+++ PKGBUILD	2013-08-10 01:58:07 UTC (rev 192309)
@@ -1,30 +1,33 @@
 # $Id$
-# Maintainer: tobias <tobias at archlinux.org>
-# Contributor: Todd Musall <tmusall at comcast.net>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=grip
 pkgver=3.3.1
-pkgrel=9
+pkgrel=10
 pkgdesc="A cd-player and ripper for the Gnome desktop"
 arch=('i686' 'x86_64')
 license=('GPL')
-url="http://nostatic.org/grip/"
+url="http://sourceforge.net/projects/grip/"
 depends=('vte' 'curl' 'libgnomeui' 'id3lib' 'cdparanoia')
 optdepends=('yelp: to display the help and notices')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz \
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
         grip-3.3.1-invalid-genre-size.patch)
-md5sums=('4b4233999b9f2bc85c711092553ea9aa'
-         '046448be7d1580e86a2211cd8661d855')
+sha1sums=('58ef51fbddf981a189f8b5b39774e3bd6862127d'
+          '27057cb49f2abe97045912899965a9bb347612a2')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/grip-3.3.1-invalid-genre-size.patch"
+  sed -i '/[.] conftest[.]id3/s: c: ./c:' configure
+}
+
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 -i "${srcdir}/grip-3.3.1-invalid-genre-size.patch"
-  sed -i '/[.] conftest[.]id3/s: c: ./c:' configure 
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list