mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
29 lines
695 B
Bash
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
|
|
}
|