desktop/kdemultimedia-kmix/PKGBUILD
2015-04-05 15:43:06 +00:00

37 lines
996 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')
optdepends=('libcanberra-pulse: PulseAudio support')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdemultimedia" "kde-uninstall")
provides=('kdemultimedia-kmix')
replaces=('kdemultimedia-kmix')
conflicts=('kdemultimedia-kmix')
options=('docs' '!header' 'debug' 'log')
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}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}