updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lemonrip / PKGBUILD
blob59bcb35cf1e3b7538d7847d538d82cf6eaaf2e72
1 # Contributor: Dragonlord <archlinux[at]dragonlord[.]cz>
3 pkgname=lemonrip
4 pkgver=1.20
5 pkgrel=4
6 pkgdesc="Mencoder GUI for ripping and encoding DVD into AVI files."
7 arch=('i686' 'x86_64')
8 url="http://jaromes.projects.googlepages.com/$pkgname.html"
9 license=('GPL')
10 depends=('mplayer' 'perl' 'perl-libintl-perl' 'perl-xml-simple' 'gtk2-perl' 'desktop-file-utils' )
11 install=$pkgname.install
12 source=(http://jaromes.projects.googlepages.com/${pkgname}_${pkgver}.tar.gz \
13         $pkgname.desktop)
15 md5sums=('337f80c9656976f2ac42f7744736f39f'
16          'bd929b0838650b6c058e1be9ac4328bf')
18 build() {
19   install -D -m755 "$startdir/src/lemonrip/src/$pkgname" \
20                      "$startdir/pkg/usr/bin/$pkgname"
21   install -D -m644 "$startdir/src/$pkgname.desktop" \
22                      "$startdir/pkg/usr/share/applications/$pkgname.desktop"
24 # icons
25   install -D -m644 "$startdir/src/$pkgname/DOC/${pkgname}_small.png" \
26     "$startdir/pkg/usr/share/icons/hicolor/16x16/apps/$pkgname.png"
27   install -D -m644 "$startdir/src/$pkgname/DOC/${pkgname}_icon.png" \
28     "$startdir/pkg/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
29   install -D -m644 "$startdir/src/$pkgname/DOC/${pkgname}.png" \
30     "$startdir/pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png"