summaryrefslogtreecommitdiff
path: root/community/ripperx
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-04 03:35:24 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-04 03:35:24 +0000
commit994ca8b3d7a14ef97d75b40b7554a9892bd0283f (patch)
tree6128c516b709c016d8987fa54aef7e9e341d0b91 /community/ripperx
parent5646de4a9273897b8a619641ed988c4bb217a509 (diff)
Tue Feb 4 03:33:07 UTC 2014
Diffstat (limited to 'community/ripperx')
-rw-r--r--community/ripperx/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/ripperx/PKGBUILD b/community/ripperx/PKGBUILD
index d852ced60..522ad146b 100644
--- a/community/ripperx/PKGBUILD
+++ b/community/ripperx/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 83323 2013-01-29 14:04:00Z spupykin $
+# $Id: PKGBUILD 105241 2014-02-03 10:20:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=ripperx
pkgver=2.7.3
-pkgrel=4
+pkgrel=5
pkgdesc="GTK program to rip and encode mp3 files"
arch=(i686 x86_64)
url="http://ripperx.sourceforge.net/"
@@ -13,11 +13,20 @@ license=('GPL')
source=(http://downloads.sourceforge.net/ripperx/ripperX-$pkgver.tar.gz)
md5sums=('f07c55edf08a1cd57537f1b9379b4e4d')
-build() {
+prepare() {
cd $srcdir/ripperX-$pkgver
- LDFLAGS=-lm ./configure --prefix=/usr
sed -i 's|Icon=.*|Icon=ripperX.xpm|g' ripperX.desktop
echo "Categories=GTK;GNOME;AudioVideo;DiscBurning;" >>ripperX.desktop
+ patch ripperX.pc.in <<EOF
+diff -r ripperX-2.7.3/ripperX.pc.in ripperX-2.7.3.y/ripperX.pc.in
+3a4
+> includedir=@includedir@
+EOF
+}
+
+build() {
+ cd $srcdir/ripperX-$pkgver
+ LDFLAGS=-lm ./configure --prefix=/usr
make
}