PKGBUILD 839 Bytes
Newer Older
Jeff Huang's avatar
Jeff Huang committed
1
# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
Manuel Tortosa's avatar
Manuel Tortosa committed
2 3

pkgname=kaffeine
4
pkgver=2.0.2
Jeff Huang's avatar
Jeff Huang committed
5
pkgrel=1
6
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
7
license=('GPL')
Neophytos's avatar
Neophytos committed
8
arch=('x86_64')
Manuel Tortosa's avatar
Manuel Tortosa committed
9
url="http://kaffeine.kde.org"
10 11
depends=('kio' 'hicolor-icon-theme' 'libxss' 'vlc')
makedepends=('extra-cmake-modules' 'kidletime')
12
categories=('multimedia')
Neophytos's avatar
Neophytos committed
13
install=kaffeine.install
14 15 16 17 18 19
source=("https://github.com/KDE/kaffeine/archive/$pkgver.tar.gz")
sha1sums=('284f64410d0ac39d1db39d4e282c299347b08d10')

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

build() {
22 23 24 25 26 27
  cd build
  cmake ../$pkgname-$pkgver \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_TESTING=OFF
  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
}