desktop/kaffeine/PKGBUILD
2017-07-04 14:21:18 +01:00

34 lines
844 B
Bash

# Source global configuration
source ../kdeapps.conf
pkgname=kaffeine
pkgver=2.0.10
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=('a94fa42fd69ba084ef45d66aa9040f5dc76d1540794417fee182e8e0cebbb7b7')
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../$pkgname-$pkgver
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}