desktop/flacon/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

pkgname=flacon
2016-01-31 08:23:16 +08:00
pkgver=2.0.1
pkgrel=1
pkgdesc="Tool to extract individual tracks from one big audio file."
2013-10-13 23:16:10 +08:00
arch=('x86_64')
2013-10-27 18:23:06 +08:00
url="http://flacon.github.io/"
license=('GPL3')
2013-10-13 23:16:10 +08:00
screenshot="http://wiki.flacon.googlecode.com/hg/imgs/flacon-1-small.png"
2015-10-01 19:05:51 +08:00
depends=('uchardet' 'shntool' 'qt5-base')
makedepends=('cmake' 'qt5-tools')
optdepends=('flac: for encoding and decoding FLAC files'
'mac: for APE support'
'ttaenc: for TrueAudio support'
'lame: for MP3 support'
'mp3gain: for MP3 Replay Gain support'
'vorbis-tools: for OGG support'
'vorbisgain: for OGG Replay Gain support'
'wavpack: for WavPack support')
categories=('multimedia')
2013-10-27 18:23:06 +08:00
source=(https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
2016-01-31 08:23:16 +08:00
sha256sums=('3408304e7ab524a2e8a621ea780579e1be7b3359fefe7d37a1b88f34d6120e02')
2013-10-13 23:16:10 +08:00
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
2015-10-01 19:05:51 +08:00
-DBUILD_TESTS=Yes \
-DUSE_QT5=Yes
2013-10-13 23:16:10 +08:00
make
}
package() {
2015-04-28 23:16:09 +08:00
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}