mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 22:27:17 +08:00
49 lines
1.0 KiB
Bash
49 lines
1.0 KiB
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-git
|
|
pkgver=20100731
|
|
pkgrel=1
|
|
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' 'git')
|
|
provides=("libbluedevil")
|
|
conflicts=("libbluedevil")
|
|
source=()
|
|
md5sums=()
|
|
|
|
_gitroot="git://gitorious.org/libbluedevil/libbluedevil.git"
|
|
_gitname="libbluedevil"
|
|
|
|
build(){
|
|
cd ${srcdir}
|
|
|
|
if [[ -d $_gitname ]]; then
|
|
(cd $_gitname && git pull origin)
|
|
else
|
|
git clone $_gitroot $_gitname
|
|
fi
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake ../${_gitname} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
} |