desktop/kaffeine/PKGBUILD

35 lines
933 B
Bash
Raw Normal View History

2015-09-15 14:41:44 +08:00
# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
# Source global configuration
source ../kdeapps.conf
2010-06-12 07:22:53 +08:00
pkgname=kaffeine
2016-10-05 03:36:03 +08:00
pkgver=2.0.5
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")
2016-10-05 03:36:03 +08:00
sha1sums=('9e82a163183c1b83c535bcfba9ca6c38c8b24043')
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
}