summaryrefslogtreecommitdiff
path: root/extra/kaffeine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kaffeine/PKGBUILD')
-rw-r--r--extra/kaffeine/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/kaffeine/PKGBUILD b/extra/kaffeine/PKGBUILD
new file mode 100644
index 000000000..5fc44e597
--- /dev/null
+++ b/extra/kaffeine/PKGBUILD
@@ -0,0 +1,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')