diff options
Diffstat (limited to 'community/ripperx/PKGBUILD')
-rw-r--r-- | community/ripperx/PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/community/ripperx/PKGBUILD b/community/ripperx/PKGBUILD index cd0fb0261..896d1f8ac 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 'mips64el') 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 } |