desktop/bluedevil-kf5/PKGBUILD
Neophytos Kolokotronis 4be4fa1ccf plasma5: PKGBUILD fixes
2015-02-24 21:26:37 +00:00

45 lines
1.1 KiB
Bash

#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/bluedevil-frameworks
source ../plasma.conf
pkgname=bluedevil-kf5
_pkgname=bluedevil
pkgver=${PVersion}
pkgrel=1
pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications"
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/bluedevil'
license=('LGPL')
depends=('kio' 'libbluedevil-kf5')
makedepends=('extra-cmake-modules')
groups=('plasma')
options=("debug")
replaces=('bluedevil')
provides=('bluedevil')
conflicts=('bluedevil')
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
install=bluedevil.install
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}