PKGBUILD 742 Bytes
Newer Older
Jeff Huang's avatar
Jeff Huang committed
1
# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
Manuel Tortosa's avatar
Manuel Tortosa committed
2 3

pkgname=kaffeine
Jeff Huang's avatar
Jeff Huang committed
4 5
pkgver=1.3.1
pkgrel=1
Manuel Tortosa's avatar
Manuel Tortosa committed
6 7
pkgdesc='KDE media player'
license=('GPL')
Neophytos's avatar
Neophytos committed
8
arch=('x86_64')
Manuel Tortosa's avatar
Manuel Tortosa committed
9
url="http://kaffeine.kde.org"
Jeff Huang's avatar
Jeff Huang committed
10 11
depends=('kde-runtime' 'vlc')
makedepends=('cmake' 'automoc4')
12
categories=('multimedia')
Neophytos's avatar
Neophytos committed
13
install=kaffeine.install
Jeff Huang's avatar
Jeff Huang committed
14 15
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('f2308cf7abf5ec7ad5c724593594c198')
Manuel Tortosa's avatar
Manuel Tortosa committed
16 17

build() {
Neophytos's avatar
Neophytos committed
18
	cd "$srcdir"
Jeff Huang's avatar
Jeff Huang committed
19
	mkdir -p build && cd build
Neophytos's avatar
Neophytos committed
20
	cmake ../${pkgname}-${pkgver} \
Manuel Tortosa's avatar
Manuel Tortosa committed
21 22 23 24 25
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}
Neophytos's avatar
Neophytos committed
26 27 28 29 30

package() {
        cd "$srcdir/build"
	make DESTDIR="$pkgdir" install
}