summaryrefslogtreecommitdiff
path: root/extra/kaffeine/PKGBUILD
blob: 5fc44e5977e7a0969c318a382ef14e4557ddc818 (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
27
28
29
30
# $Id: PKGBUILD 122312 2011-05-03 18:56:11Z tpowa $
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=kaffeine
pkgver=1.2.2
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
}

package() {
        cd $srcdir/build
	make DESTDIR=$pkgdir install
}
md5sums=('690e48d2e5fe123887109aa9b1bc1c31')