desktop/mp3diags/PKGBUILD

39 lines
1.2 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor Fabien Valthier <hcoohb[at]gmail[dog]com>
pkgname=mp3diags
pkgver=1.0.10.065
pkgrel=1
pkgdesc="GUI-based application that allows end-users to identify issues with their MP3 files, fix some of the issues and make other changes."
url="http://mp3diags.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('qt' 'phonon' 'boost-libs')
makedepends=('make' 'gcc' 'boost')
optdepends=('mp3gain: MP3 normalization support')
categories=('multimedia')
install=mp3diags.install
source=("http://sourceforge.net/projects/mp3diags/files/mp3diags-src/MP3Diags-${pkgver}.tar.gz")
md5sums=('5609f782b10d64d4262d3937fb52adea')
build() {
cd ${srcdir}/MP3Diags-$pkgver
./AdjustMt.sh
qmake
make
}
package() {
cd ${srcdir}/MP3Diags-$pkgver
install -d ${pkgdir}/usr/share/{applications,pixmaps}
install -D bin/MP3Diags ${pkgdir}/usr/bin/MP3Diags
install -D desktop/MP3Diags.desktop ${pkgdir}/usr/share/applications
install -D desktop/MP3Diags48.png ${pkgdir}/usr/share/pixmaps/MP3Diags.png
}