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

pkgname=kaffeine
5
pkgver=2.0.15
6
pkgrel=3
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')
Jeff Huang's avatar
Jeff Huang committed
10
url="https://kaffeine.kde.org"
11
depends=('kio' 'hicolor-icon-theme' 'libxss' 'vlc')
12
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
13
categories=('multimedia')
14
options=('debug')
Jeff Huang's avatar
Jeff Huang committed
15
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.xz")
16
sha256sums=('e61573199fe4e04377679a5cf8b32b3aa0bb4201c56371e11820d3a3ae41904d')
17 18 19 20

prepare() {
  mkdir -p build
}
Manuel Tortosa's avatar
Manuel Tortosa committed
21 22

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

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