updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / dupemusicmatch / PKGBUILD
blob28ba9d9eb56357c2720e92ad6774bd1a42f5d398
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Leigh <leighallison@earthlink.net.com>
3 # Contributor: FJ <joostef@gmail.com>
5 pkgname=dupemusicmatch
6 pkgver=2.3
7 pkgrel=3
8 pkgdesc="A tool to quickly find duplicate MP3/Ogg/FLAC files via letter matching"
9 arch=('any')
10 url="http://dupemusicmatch.sourceforge.net/"
11 license=('GPL')
12 depends=('mutagen' 'python-numeric')
13 optdepends=('pygtk>=2.8.0: for GUI support'
14             'audacious:    for GUI support')
15 source=(http://downloads.sourceforge.net/$pkgname/DupeMusicMatch-$pkgver.tar.gz
16         dmm.desktop dmm.launcher dmm.png)
17 md5sums=('8cb9e970b4a01e908f0b0c1160a7a716'
18          '69ad643fd43e3a1fcb98480ad516c2af'
19          'f4f19b2b040e9c15f89836631462fe9a'
20          '2e31e2f04878a7dae0348efd2527a76e')
22 build() {
23   cd "$srcdir/DupeMusicMatch-$pkgver"
24   sed -i '1s/env python/&2/' *.py
25   install -dm755 "$pkgdir/usr/share/$pkgname"
26   install -cm644 *.py *.glade "$pkgdir/usr/share/$pkgname"
27   install -Dm644 locale/de/LC_MESSAGES/$pkgname.mo \
28     "$pkgdir/usr/share/locale/de/LC_MESSAGES/$pkgname.mo"
29   install -Dm755 ../dmm.launcher "$pkgdir/usr/bin/dmm"
30   install -Dm644 ../dmm.desktop "$pkgdir/usr/share/applications/dmm.desktop"
31   install -Dm644 ../dmm.png "$pkgdir/usr/share/pixmaps/dmm.png"