# Maintainer: AsamK # Contributor: Artem Sereda pkgname=qtgain pkgver=1.0.0 pkgrel=1 pkgdesc="Simply frontend for mp3gain, vorbisgain and metaflac to replay gain your tracks" url="http://www.qt-apps.org/content/show.php/QtGain?content=56842" license=('GPL') arch=('i686' 'x86_64') depends=('qt5-base') makedepends=('make' 'gcc' 'git') optdepends=('mp3gain: For MP3 support' 'vorbisgain: For OGG support' 'flac: For FLAC suppot' 'aacgain: For AAC support') source=("${pkgname}::git://git.code.sf.net/p/qtgain/code#commit=829222162cc66865a3c57417d52d12a37a627b3d" 'qtgain.desktop') md5sums=('SKIP' '296ce0f158f8b7d6b80cbfd895e12e5e') build() { cd "$srcdir/${pkgname}" qmake-qt5 make } package () { cd "$srcdir/${pkgname}" install -D -m 755 "bin/qtgain" "${pkgdir}/usr/bin/qtgain" install -D -m 644 "${srcdir}/qtgain.desktop" "${pkgdir}/usr/share/applications/qtgain.desktop" install -D -m 644 "Icons/lsongs.png" "${pkgdir}/usr/share/pixmaps/qtgain.png" }