desktop/libbluedevil/PKGBUILD
2015-01-07 05:33:59 +00:00

34 lines
823 B
Bash

# Chakra Packages for Chakra, part of chakra-project.org
# Maintainer : abveritas@chakra-project.org
# Maintainer : Manuel Tortosa <manutortosa@chakra-project@org>
pkgname=libbluedevil
pkgver=2.1
pkgrel=1
pkgdesc='A Qt wrapper for bluez used in the new KDE bluetooth stack'
arch=('x86_64')
url="https://projects.kde.org/projects/playground/libs/libbluedevil"
license=('GPL')
depends=('qt' 'bluez')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('0ffc977d171d786ae34bc4e461fe682b')
build(){
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}