core/libbluedevil-kf5/PKGBUILD
2015-02-22 23:23:41 +00:00

42 lines
869 B
Bash

# Contributor: Andrea Scarpino <andrea@archlinux.org>
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_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}