PKGBUILD 844 Bytes
Newer Older
1 2
# Source global configuration
source ../kdeapps.conf
Manuel Tortosa's avatar
Manuel Tortosa committed
3 4

pkgname=kaffeine
Jeff Huang's avatar
Jeff Huang committed
5
pkgver=2.0.10
6
pkgrel=1
7
pkgdesc='Media player with support for digital television (DVB-C/S/S2/T and ATSC, decryption with CI/CAM)'
Manuel Tortosa's avatar
Manuel Tortosa committed
8
license=('GPL')
Neophytos's avatar
Neophytos committed
9
arch=('x86_64')
Manuel Tortosa's avatar
Manuel Tortosa committed
10
url="http://kaffeine.kde.org"
11
depends=('kio' 'hicolor-icon-theme' 'libxss' 'vlc')
12
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
13
categories=('multimedia')
14
options=('debug')
Neophytos's avatar
Neophytos committed
15
install=kaffeine.install
16 17
#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
source=("https://github.com/KDE/${pkgname}/archive/${pkgver}.tar.gz")
Jeff Huang's avatar
Jeff Huang committed
18
sha256sums=('a94fa42fd69ba084ef45d66aa9040f5dc76d1540794417fee182e8e0cebbb7b7')
19 20 21 22

prepare() {
  mkdir -p build
}
Manuel Tortosa's avatar
Manuel Tortosa committed
23 24

build() {
25
  cd build
26
  cmake_kf5 ../$pkgname-$pkgver
27
  make
Manuel Tortosa's avatar
Manuel Tortosa committed
28
}
Neophytos's avatar
Neophytos committed
29 30

package() {
31 32
  cd build
  make DESTDIR="$pkgdir" install
Neophytos's avatar
Neophytos committed
33
}