desktop/kaffeine/PKGBUILD
2016-07-01 00:18:15 +02:00

35 lines
933 B
Bash

# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
# Source global configuration
source ../kdeapps.conf
pkgname=kaffeine
pkgver=2.0.4
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")
sha1sums=('c4befcff3b953def10c1b1afe847fcbb63cd5fb9')
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../$pkgname-$pkgver
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}