mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-07 03:07:15 +08:00
40 lines
961 B
Bash
40 lines
961 B
Bash
#
|
|
# Chakra 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=libbluedevil
|
|
pkgver=1.0
|
|
pkgrel=2
|
|
pkgdesc='A Qt wrapper for bluez used in the new KDE bluetooth stack'
|
|
arch=('i686' 'x86_64')
|
|
url="http://gitorious.org/libbluedevil"
|
|
license=('GPL')
|
|
depends=('qt' 'bluez')
|
|
makedepends=('cmake')
|
|
provides=("libbluedevil")
|
|
conflicts=("libbluedevil-git")
|
|
source=("http://chakra-project.org/sources/$pkgname/$pkgname-$pkgver.tar.xz")
|
|
md5sums=('1a10c3fbc5ce96f1bc674998345d1676')
|
|
|
|
build(){
|
|
cd ${srcdir}
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake ../$pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
} |