summaryrefslogtreecommitdiff
path: root/extra/kaffeine/PKGBUILD
blob: cad29ec162df156bce43b7654838b8131d2a2757 (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
31
# $Id: PKGBUILD 146418 2012-01-10 23:37:34Z eric $
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=kaffeine
pkgver=1.2.2
pkgrel=2
pkgdesc='KDE media player'
license=('GPL')
arch=('i686' 'x86_64')
url="http://kaffeine.kde.org"
depends=('kdelibs' 'kdebase-runtime' 'xine-lib')
makedepends=('pkg-config' 'cmake' 'automoc4')
install=kaffeine.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('690e48d2e5fe123887109aa9b1bc1c31')

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
}