core/libbluedevil-kf5/PKGBUILD

42 lines
869 B
Bash
Raw Normal View History

2015-01-15 05:23:15 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../plasma.conf
pkgname=libbluedevil-kf5
_pkgname=libbluedevil
pkgver=${PVersion}
pkgrel=1
pkgdesc="KDE bluetooth framework libraries"
2015-01-15 05:23:15 +08:00
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/libbluedevil'
2015-01-15 05:23:15 +08:00
license=('LGPL')
depends=('qt5-base' 'bluez')
makedepends=('extra-cmake-modules')
2015-01-15 05:23:15 +08:00
groups=('plasma')
options=("debug")
conflicts=('libbluedevil')
replaces=('libbluedevil')
provides=('libbluedevil')
2015-01-15 05:23:15 +08:00
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
2015-01-15 05:23:15 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}