desktop/libbluedevil-kf5/PKGBUILD
2015-02-23 21:41:32 +00:00

39 lines
919 B
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libbluedevil-frameworks
source ../plasma.conf
pkgname=libbluedevil-kf5
_pkgname=libbluedevil
pkgver=${PVersion}
pkgrel=1
pkgdesc="KDE bluetooth framework libraries"
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/libbluedevil'
license=('LGPL')
depends=('qt5-base' 'bluez')
makedepends=('extra-cmake-modules')
groups=('plasma')
options=("debug")
conflicts=('libbluedevil')
replaces=('libbluedevil')
provides=('libbluedevil')
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}