mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=kbluetooth
|
|
pkgver=0.4.2
|
|
pkgrel=2
|
|
pkgdesc="A collection of Bluetooth utilities and modules for KDE based on BlueZ"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.kde-apps.org/content/show.php/kbluetooth?content=112110"
|
|
license=('GPL2')
|
|
depends=('kdebase-workspace' 'bluez' 'obex-data-server')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'perl')
|
|
optdepends=('python')
|
|
replaces=('kdebluetooth')
|
|
conflicts=('kdebluetooth')
|
|
install=kbluetooth.install
|
|
source=(http://www.kde-apps.org/CONTENT/content-files/112110-${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('f64e2c0133bc76aa119a5d453d760851')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
}
|