summaryrefslogtreecommitdiff
path: root/extra/grip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/grip/PKGBUILD')
-rw-r--r--extra/grip/PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/extra/grip/PKGBUILD b/extra/grip/PKGBUILD
index 904ab4eda..b4eab62a0 100644
--- a/extra/grip/PKGBUILD
+++ b/extra/grip/PKGBUILD
@@ -1,30 +1,33 @@
-# $Id: PKGBUILD 137616 2011-09-10 05:34:08Z eric $
-# Maintainer: tobias <tobias@archlinux.org>
-# Contributor: Todd Musall <tmusall@comcast.net>
+# $Id: PKGBUILD 192310 2013-08-10 01:59:42Z eric $
+# Maintainer: Eric BĂ©langer <eric@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')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/grip-3.3.1-invalid-genre-size.patch"
- sed -i '/[.] conftest[.]id3/s: c: ./c:' configure
+ sed -i '/[.] conftest[.]id3/s: c: ./c:' configure
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}