desktop/flacon/PKGBUILD
2014-03-08 11:56:56 +00:00

39 lines
1.1 KiB
Bash

# Maintainer: FranzMari <franzmari[at]chakra-project[dot]it>
pkgname=flacon
pkgver=0.9.4
pkgrel=1
pkgdesc="Tool to extract individual tracks from one big audio file."
arch=('x86_64')
url="http://flacon.github.io/"
license=('GPL3')
screenshot="http://wiki.flacon.googlecode.com/hg/imgs/flacon-1-small.png"
depends=('uchardet' 'shntool' 'qt')
makedepends=('cmake')
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')
source=(https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
md5sums=('732cdd83ddc8cb464cae1822e8662b7f')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=Yes
make
}
package() {
cd $srcdir/$pkgname-$pkgver
cd build
make DESTDIR=$pkgdir install
}