desktop/soundkonverter/PKGBUILD
2015-11-17 00:46:28 +01:00

29 lines
896 B
Bash

pkgname=soundkonverter
pkgver=2.1.2
pkgrel=3
pkgdesc="soundKonverter is a frontend to various audio converters"
arch=('x86_64')
url="https://github.com/HessiJames/soundkonverter"
license=('GPL')
depends=('kdemultimedia-audiocd-kio' 'libkcddb' 'taglib' 'opusfile')
makedepends=('cmake' 'automoc4')
categories=('multimedia')
screenshot=('http://kde-apps.org/CONTENT/content-pre2/29024-2.png')
source=("$pkgname-$pkgver::https://github.com/HessiJames/soundkonverter/archive/v2.1.2.tar.gz")
sha256sums=('a54b3471251ca201c8561538b00a37f4ebc8a197c4ac63ac11ce9411f048e0f6')
build() {
cd "$srcdir"/$pkgname-$pkgver/src
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver/src
make DESTDIR="$pkgdir" install
mv ${pkgdir}/usr/share/applications/kde4/$pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
}