summaryrefslogtreecommitdiff
path: root/community/ripperx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ripperx/PKGBUILD')
-rw-r--r--community/ripperx/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/ripperx/PKGBUILD b/community/ripperx/PKGBUILD
new file mode 100644
index 000000000..d852ced60
--- /dev/null
+++ b/community/ripperx/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 83323 2013-01-29 14:04:00Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: dorphell <dorphell@archlinux.org>
+
+pkgname=ripperx
+pkgver=2.7.3
+pkgrel=4
+pkgdesc="GTK program to rip and encode mp3 files"
+arch=(i686 x86_64)
+url="http://ripperx.sourceforge.net/"
+depends=('gtk2' 'id3lib')
+license=('GPL')
+source=(http://downloads.sourceforge.net/ripperx/ripperX-$pkgver.tar.gz)
+md5sums=('f07c55edf08a1cd57537f1b9379b4e4d')
+
+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
+}
+
+package() {
+ cd $srcdir/ripperX-$pkgver
+ make DESTDIR=$pkgdir install
+ install -Dm0644 ripperX.desktop $pkgdir/usr/share/applications/ripperX.desktop
+ install -Dm0644 ripperX.xpm $pkgdir/usr/share/icons/ripperX.xpm
+}