PKGBUILD 643 Bytes
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1
pkgname=kaffeine
2
pkgver=2.0.17
3 4
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}.tar.xz")
sha256sums=('6578b785f754663c105d425605cf9a5dc139881fd479a9290b55cbf49182cce1')
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} \
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
}