mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
29 lines
900 B
Bash
29 lines
900 B
Bash
pkgname=soundkonverter
|
|
pkgver=2.2.1
|
|
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=('66526fec9a698889109405fb0416224f4002daefc1e831aa40b460ba0300e938')
|
|
|
|
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
|
|
}
|