desktop/flacon/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

pkgname=flacon
2017-01-03 03:39:17 +08:00
pkgver=2.1.1
2016-01-31 08:23:16 +08:00
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)
2017-01-03 03:39:17 +08:00
sha256sums=('9ece812c0bd68828301d745fbdddaf9ff2d9e572cc205e20d2bbcb093de98a1b')
2013-10-13 23:16:10 +08:00
build() {
2016-10-03 15:31:48 +08:00
cd $pkgname-$pkgver
2013-10-13 23:16:10 +08:00
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() {
2016-10-03 15:31:48 +08:00
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}