blob: d852ced6069d07520c3643be8a397d05e4e728b3 (
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
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
}
|