desktop/mp3diags/PKGBUILD

38 lines
1.2 KiB
Bash
Raw Normal View History

2011-03-29 19:19:49 +08:00
#
# 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
2012-03-04 07:43:57 +08:00
pkgver=1.0.10.065
2011-03-29 19:19:49 +08:00
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')
2011-10-01 09:46:42 +08:00
depends=('qt' 'phonon' 'boost-libs')
2011-03-29 19:19:49 +08:00
makedepends=('make' 'gcc' 'boost')
optdepends=('mp3gain: MP3 normalization support')
install=mp3diags.install
2012-03-04 07:43:57 +08:00
source=("http://sourceforge.net/projects/mp3diags/files/mp3diags-src/MP3Diags-${pkgver}.tar.gz")
md5sums=('5609f782b10d64d4262d3937fb52adea')
2011-03-29 19:19:49 +08:00
build() {
cd ${srcdir}/MP3Diags-$pkgver
2011-10-01 09:46:42 +08:00
./AdjustMt.sh
2011-03-29 19:19:49 +08:00
qmake
make
2011-10-01 09:46:42 +08:00
}
package() {
cd ${srcdir}/MP3Diags-$pkgver
install -d ${pkgdir}/usr/share/{applications,pixmaps}
2011-03-29 19:19:49 +08:00
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
}