desktop/kaffeine/PKGBUILD
2016-10-04 21:36:03 +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.5
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=('9e82a163183c1b83c535bcfba9ca6c38c8b24043')
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../$pkgname-$pkgver
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}