desktop/flacon/PKGBUILD
2013-10-27 10:23:06 +00:00

42 lines
1.1 KiB
Bash

# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: FranzMari <franzmari[at]chakra-project[dot]it>
pkgname=flacon
pkgver=0.9.2
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=('3b90990eee0e429e895cf133b33c501c')
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
}