updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / mp3tag / PKGBUILD
blob556a4f2a86f072d0198669446c1333a69e734fa5
1 # Maintainer: Hubert Maraszek <marach5 at gmail dot com>
2 pkgname=mp3tag
3 pkgver=2.49a
4 pkgrel=1
5 pkgdesc="A universal tag editor"
6 arch=('i686' 'x86_64')
7 url="http://www.mp3tag.de/en/"
8 license=('custom')
9 depends=('wine')
10 makedepends=('p7zip')
11 source=(mp3tag
12         LICENSE
13         mp3tag.desktop
14         mp3tag.png
15         http://download.mp3tag.de/mp3tagv249asetup.exe)
16 md5sums=('b2e8aa8e4748b2668e0504264eacc6a9'
17          'ecafef682bedadde129aeb1a3e762c30'
18          '6c8cf49f81f247bea965db3cb5a29f45'
19          '7146546bd343649d68e983e841bd4cb3'
20          '34a9b827b8e70d202c5298a6ee80545e')
22 options=('!strip')
24 build() {
25   install -d -m755 "$pkgdir/usr/share/$pkgname"
26   7z -y -o"$pkgdir/usr/share/$pkgname" x "$srcdir/mp3tagv249asetup.exe"
27   rm -rf "$pkgdir/usr/share/mp3tag/\$PLUGINSDIR" "$pkgdir/usr/share/mp3tag/\$R0"
28   find "$pkgdir/usr/share/$pkgname" -type d -exec chmod 755 "{}" \;
29   find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 "{}" \;
30   
31   install -D -m755 mp3tag "$pkgdir/usr/bin/mp3tag"
32   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33   install -D -m644 mp3tag.png "$pkgdir/usr/share/pixmaps/mp3tag.png"
34   install -D -m644 mp3tag.desktop "$pkgdir/usr/share/applications/mp3tag.desktop"
37 # vim:set ts=2 sw=2 et: