desktop/kmix/PKGBUILD
2015-12-04 23:26:22 +00:00

36 lines
988 B
Bash

# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kmix/
# Include global configuration
source ../kdeapps.conf
pkgname=kmix
pkgver=${_kdever}
pkgrel=1
pkgdesc="KDE volume control utility"
url='http://kde.org/applications/multimedia/kmix/'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('hicolor-icon-theme' 'kcmutils' 'kdelibs4support' 'libcanberra' 'plasma-framework')
optdepends=('libcanberra-pulse: PulseAudio support')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'kdoctools')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdemultimedia')
replaces=('kdemultimedia-kmix')
conflicts=('kdemultimedia-kmix')
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} -DKMIX_KF5_BUILD=On
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}