summaryrefslogtreecommitdiff
path: root/extra/kaffeine/PKGBUILD
blob: fc32fd506632a3ce57b57a6f1c78a060777857e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 118974 2011-04-09 21:02:09Z tpowa $
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=kaffeine
pkgver=1.2.1
pkgrel=1
pkgdesc='KDE media player'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
url="http://kaffeine.kde.org"
depends=('kdelibs' 'kdebase-runtime' 'xine-lib')
makedepends=('pkgconfig' 'cmake' 'automoc4')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")

build() {
	cd $srcdir
	mkdir build
	cd build
	cmake ../${pkgname}-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
	make DESTDIR=$pkgdir install
}
md5sums=('e65a8558836f0aa0d173d76e51ad065f')