desktop/bluedevil/PKGBUILD

29 lines
695 B
Bash
Raw Normal View History

pkgname=bluedevil
2015-04-20 21:33:31 +08:00
pkgver=2.1.1
2015-01-07 13:47:04 +08:00
pkgrel=1
2011-10-10 01:48:16 +08:00
pkgdesc='KDE bluetooth framework'
2013-02-12 07:30:05 +08:00
arch=('x86_64')
2011-10-10 01:48:16 +08:00
url="https://projects.kde.org/projects/extragear/base/bluedevil"
license=('GPL')
2015-01-07 13:47:04 +08:00
depends=('kde-runtime' 'libbluedevil')
makedepends=('cmake' 'automoc4')
2015-01-07 13:47:04 +08:00
optdepends=('kde-workspace: to run the plasmoid')
2011-10-10 01:48:16 +08:00
install="${pkgname}.install"
2015-01-07 13:47:04 +08:00
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
2015-04-20 21:33:31 +08:00
md5sums=('9a6b011331678ea08f303049bcdbb69f')
build(){
2011-10-10 01:48:16 +08:00
cd "${srcdir}"
mkdir build
cd build
2011-10-10 01:48:16 +08:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2011-10-10 01:48:16 +08:00
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}