summaryrefslogtreecommitdiff
path: root/community/ripperx/PKGBUILD
blob: 2c9b0cfa8780302914d5e6fead7aecd3dba1b5d8 (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
# $Id: PKGBUILD 80016 2012-11-15 13:29:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>

pkgname=ripperx
pkgver=2.7.3
pkgrel=3
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
  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
}