desktop/kaffeine/PKGBUILD
2015-09-15 06:41:44 +00:00

31 lines
742 B
Bash

# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
pkgname=kaffeine
pkgver=1.3.1
pkgrel=1
pkgdesc='KDE media player'
license=('GPL')
arch=('x86_64')
url="http://kaffeine.kde.org"
depends=('kde-runtime' 'vlc')
makedepends=('cmake' 'automoc4')
categories=('multimedia')
install=kaffeine.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('f2308cf7abf5ec7ad5c724593594c198')
build() {
cd "$srcdir"
mkdir -p build && cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}