mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
31 lines
647 B
Bash
31 lines
647 B
Bash
pkgname=kaffeine
|
|
pkgver=2.0.16
|
|
pkgrel=1
|
|
pkgdesc='KDE media player'
|
|
license=('GPL')
|
|
arch=('x86_64')
|
|
url="https://kaffeine.kde.org"
|
|
depends=('kio' 'libxss' 'vlc')
|
|
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
|
|
categories=('multimedia')
|
|
options=('debug')
|
|
source=("https://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}-2.tar.xz")
|
|
sha256sums=('8659189d907c2512321dd2c0d0c47176229c344970d633e33f29ce82432deee5')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver}-2 \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|