desktop/kaffeine/PKGBUILD

34 lines
844 B
Bash
Raw Normal View History

# Source global configuration
source ../kdeapps.conf
2010-06-12 07:22:53 +08:00
pkgname=kaffeine
2017-07-04 21:21:18 +08:00
pkgver=2.0.10
pkgrel=1
pkgdesc='Media player with support for digital television (DVB-C/S/S2/T and ATSC, decryption with CI/CAM)'
2010-06-12 07:22:53 +08:00
license=('GPL')
2013-10-06 05:17:45 +08:00
arch=('x86_64')
2010-06-12 07:22:53 +08:00
url="http://kaffeine.kde.org"
depends=('kio' 'hicolor-icon-theme' 'libxss' 'vlc')
makedepends=('extra-cmake-modules' 'kidletime' 'kdoctools')
categories=('multimedia')
options=('debug')
2013-10-06 05:17:45 +08:00
install=kaffeine.install
#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
source=("https://github.com/KDE/${pkgname}/archive/${pkgver}.tar.gz")
2017-07-04 21:21:18 +08:00
sha256sums=('a94fa42fd69ba084ef45d66aa9040f5dc76d1540794417fee182e8e0cebbb7b7')
prepare() {
mkdir -p build
}
2010-06-12 07:22:53 +08:00
build() {
cd build
cmake_kf5 ../$pkgname-$pkgver
make
2010-06-12 07:22:53 +08:00
}
2013-10-06 05:17:45 +08:00
package() {
cd build
make DESTDIR="$pkgdir" install
2013-10-06 05:17:45 +08:00
}