desktop/kaffeine/PKGBUILD

38 lines
1002 B
Bash
Raw Normal View History

2013-10-06 05:17:45 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
2010-06-12 07:22:53 +08:00
pkgname=kaffeine
2013-10-06 05:17:45 +08:00
pkgver=1.2.2
2015-03-06 06:00:04 +08:00
pkgrel=5
2010-06-12 07:22:53 +08:00
pkgdesc='KDE media player'
license=('GPL')
2013-10-06 05:17:45 +08:00
arch=('x86_64')
2010-06-12 07:22:53 +08:00
url="http://kaffeine.kde.org"
2015-03-06 06:00:04 +08:00
depends=('kdelibs' 'kde-runtime' 'xine-lib')
2013-10-06 05:17:45 +08:00
makedepends=('pkg-config' 'cmake' 'automoc4')
categories=('multimedia')
2013-10-06 05:17:45 +08:00
install=kaffeine.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'kaffeine-1.2.2-gcc4.7.patch')
md5sums=('690e48d2e5fe123887109aa9b1bc1c31'
'f82890d4164d29fae518268165f06960')
2010-06-12 07:22:53 +08:00
build() {
2013-10-06 05:17:45 +08:00
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/kaffeine-1.2.2-gcc4.7.patch"
cd "$srcdir"
mkdir -p build
2010-06-12 07:22:53 +08:00
cd build
2013-10-06 05:17:45 +08:00
cmake ../${pkgname}-${pkgver} \
2010-06-12 07:22:53 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
2013-10-06 05:17:45 +08:00
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}