desktop/kaffeine/PKGBUILD

31 lines
742 B
Bash
Raw Normal View History

2015-09-15 14:41:44 +08:00
# 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
2015-09-15 14:41:44 +08:00
pkgver=1.3.1
pkgrel=1
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-09-15 14:41:44 +08:00
depends=('kde-runtime' 'vlc')
makedepends=('cmake' 'automoc4')
categories=('multimedia')
2013-10-06 05:17:45 +08:00
install=kaffeine.install
2015-09-15 14:41:44 +08:00
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('f2308cf7abf5ec7ad5c724593594c198')
2010-06-12 07:22:53 +08:00
build() {
2013-10-06 05:17:45 +08:00
cd "$srcdir"
2015-09-15 14:41:44 +08:00
mkdir -p build && 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
}