summaryrefslogtreecommitdiff
path: root/extra/grip/PKGBUILD
blob: d12cfc08cd605fce854c44f90f6e1dcd7f475520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 137616 2011-09-10 05:34:08Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Todd Musall <tmusall@comcast.net>

pkgname=grip
pkgver=3.3.1
pkgrel=9
pkgdesc="A cd-player and ripper for the Gnome desktop"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://nostatic.org/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 \
        grip-3.3.1-invalid-genre-size.patch)
md5sums=('4b4233999b9f2bc85c711092553ea9aa'
         '046448be7d1580e86a2211cd8661d855')

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 
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}