[arch-commits] Commit in ripperx/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Feb 3 10:19:54 UTC 2014
Date: Monday, February 3, 2014 @ 11:19:53
Author: spupykin
Revision: 105240
upgpkg: ripperx 2.7.3-5
upd
Modified:
ripperx/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-03 10:02:23 UTC (rev 105239)
+++ PKGBUILD 2014-02-03 10:19:53 UTC (rev 105240)
@@ -4,7 +4,7 @@
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 @@
source=(http://downloads.sourceforge.net/ripperx/ripperX-$pkgver.tar.gz)
md5sums=('f07c55edf08a1cd57537f1b9379b4e4d')
+prepare() {
+ cd $srcdir/ripperX-$pkgver
+ 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
- sed -i 's|Icon=.*|Icon=ripperX.xpm|g' ripperX.desktop
- echo "Categories=GTK;GNOME;AudioVideo;DiscBurning;" >>ripperX.desktop
make
}
More information about the arch-commits
mailing list