PKGBUILD 647 Bytes
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1
pkgname=kaffeine
2 3 4
pkgver=2.0.16
pkgrel=1
pkgdesc='KDE media player'
Manuel Tortosa's avatar
Manuel Tortosa committed
5
license=('GPL')
Neophytos's avatar
Neophytos committed
6
arch=('x86_64')
Jeff Huang's avatar
Jeff Huang committed
7
url="https://kaffeine.kde.org"
8
depends=('kio' 'libxss' 'vlc')
9
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
10
categories=('multimedia')
11
options=('debug')
12 13
source=("https://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}-2.tar.xz")
sha256sums=('8659189d907c2512321dd2c0d0c47176229c344970d633e33f29ce82432deee5')
14 15 16 17

prepare() {
  mkdir -p build
}
Manuel Tortosa's avatar
Manuel Tortosa committed
18 19

build() {
20
  cd build
21
  cmake ../${pkgname}-${pkgver}-2 \
22 23 24
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_TESTING=OFF 
   make
Manuel Tortosa's avatar
Manuel Tortosa committed
25
}
Neophytos's avatar
Neophytos committed
26 27

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