desktop/soundkonverter/PKGBUILD

48 lines
1.6 KiB
Bash
Raw Normal View History

2011-09-13 10:41:47 +08:00
pkgname=soundkonverter
2016-05-21 20:26:48 +08:00
pkgver=2.2.2
pkgrel=2
pkgdesc="soundKonverter is a frontend to various audio converters"
2012-12-02 23:06:53 +08:00
arch=('x86_64')
url="https://github.com/HessiJames/soundkonverter"
license=('GPL')
depends=('audiocd-kio' 'libkcddb4' 'taglib' 'opusfile')
makedepends=('cmake' 'automoc4')
optdepends=('cdrkit: cdda2wav backend'
'faac: faac backend'
'faad2: faad backend'
'ffmpeg: ffmpeg backend'
'flac: flac backend'
'fluidsynth: flouidsynth backend'
'lame: lame backend'
'mac: mac backend'
'mplayer: mplayer backend'
'mp3gain: mp3gain backend'
'opus-tools: opus backend'
'speex: speexenc, speexdec backends'
'timidity++: midi backend'
'twolame: twolame backend'
'vorbisgain: vorbisgain backend'
'vorbis-tools: vorbis tools backend'
'wavpack: wavpack backend'
'sox: sox plugin (change sample rate, various effects)')
categories=('multimedia')
2012-07-22 00:33:49 +08:00
screenshot=('http://kde-apps.org/CONTENT/content-pre2/29024-2.png')
2016-04-08 06:53:28 +08:00
source=("$pkgname-$pkgver::https://github.com/HessiJames/soundkonverter/archive/v${pkgver}.tar.gz")
2016-05-21 20:26:48 +08:00
sha256sums=('647788300fe09171cc8b1bb51902b3ddad3b8beccb378cdfcade8da2462abed7')
2012-12-02 23:06:53 +08:00
build() {
cd "$srcdir"/$pkgname-$pkgver/src
2012-03-20 23:56:11 +08:00
cmake . \
2011-09-13 10:41:47 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
2011-09-13 10:41:47 +08:00
}
package() {
cd "$srcdir"/$pkgname-$pkgver/src
make DESTDIR="$pkgdir" install
mv ${pkgdir}/usr/share/applications/kde4/$pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
}