mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
900 B
Bash
29 lines
900 B
Bash
pkgname=soundkonverter
|
|
pkgver=2.2.2
|
|
pkgrel=1
|
|
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/v${pkgver}.tar.gz")
|
|
sha256sums=('647788300fe09171cc8b1bb51902b3ddad3b8beccb378cdfcade8da2462abed7')
|
|
|
|
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
|
|
}
|