summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4592f1295807736787b94745a41c4409043d107b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: AsamK <asamk@gmx.de>
# Contributor: Artem Sereda  <overmind88@gmail.com>

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"
}