desktop/kaffeine/PKGBUILD
2013-10-05 21:17:45 +00:00

38 lines
1006 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
pkgname=kaffeine
pkgver=1.2.2
pkgrel=3
pkgdesc='KDE media player'
license=('GPL')
arch=('x86_64')
url="http://kaffeine.kde.org"
depends=('kdelibs' 'kdebase-runtime' 'xine-lib')
makedepends=('pkg-config' 'cmake' 'automoc4')
categories=('multimedia')
install=kaffeine.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'kaffeine-1.2.2-gcc4.7.patch')
md5sums=('690e48d2e5fe123887109aa9b1bc1c31'
'f82890d4164d29fae518268165f06960')
build() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/kaffeine-1.2.2-gcc4.7.patch"
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
}