mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
34 lines
843 B
Bash
34 lines
843 B
Bash
# Source global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kaffeine
|
|
pkgver=2.0.9
|
|
pkgrel=1
|
|
pkgdesc='Media player with support for digital television (DVB-C/S/S2/T and ATSC, decryption with CI/CAM)'
|
|
license=('GPL')
|
|
arch=('x86_64')
|
|
url="http://kaffeine.kde.org"
|
|
depends=('kio' 'hicolor-icon-theme' 'libxss' 'vlc')
|
|
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
|
|
categories=('multimedia')
|
|
options=('debug')
|
|
install=kaffeine.install
|
|
#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
|
source=("https://github.com/KDE/${pkgname}/archive/${pkgver}.tar.gz")
|
|
sha256sums=('36de0972e737a55be03246faf806fbbc0c3481943f8a7873feaa2a04f21094f1')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../$pkgname-$pkgver
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|