mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
31 lines
742 B
Bash
31 lines
742 B
Bash
# Contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine
|
|
|
|
pkgname=kaffeine
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc='KDE media player'
|
|
license=('GPL')
|
|
arch=('x86_64')
|
|
url="http://kaffeine.kde.org"
|
|
depends=('kde-runtime' 'vlc')
|
|
makedepends=('cmake' 'automoc4')
|
|
categories=('multimedia')
|
|
install=kaffeine.install
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('f2308cf7abf5ec7ad5c724593594c198')
|
|
|
|
build() {
|
|
cd "$srcdir"
|
|
mkdir -p 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
|
|
}
|