desktop/kaffeine/PKGBUILD

34 lines
817 B
Bash
Raw Normal View History

# Source global configuration
source ../kdeapps.conf
2010-06-12 07:22:53 +08:00
pkgname=kaffeine
2017-02-22 06:19:02 +08:00
pkgver=2.0.6
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-02-22 06:19:02 +08:00
sha1sums=('19916cb9ea330506d48c5690a3383627488e45b6')
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
}