desktop/bluedevil/PKGBUILD
2015-04-20 13:33:31 +00:00

29 lines
695 B
Bash

pkgname=bluedevil
pkgver=2.1.1
pkgrel=1
pkgdesc='KDE bluetooth framework'
arch=('x86_64')
url="https://projects.kde.org/projects/extragear/base/bluedevil"
license=('GPL')
depends=('kde-runtime' 'libbluedevil')
makedepends=('cmake' 'automoc4')
optdepends=('kde-workspace: to run the plasmoid')
install="${pkgname}.install"
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('9a6b011331678ea08f303049bcdbb69f')
build(){
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}