mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
52 lines
1.4 KiB
Bash
52 lines
1.4 KiB
Bash
|
||
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
||
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
|
||
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
|
||
|
||
# Include global configuration
|
||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
||
pkgname=bluedevil-git
|
||
pkgver=20101018
|
||
pkgrel=1
|
||
pkgdesc='The new bluetooth stack for KDE, it’s composed of: KCM, KDED, KIO, Library and some other small applications'
|
||
arch=('i686' 'x86_64')
|
||
url="http://gitorious.org/bluedevil"
|
||
license=('GPL')
|
||
depends=('kdelibs' 'libbluedevil' 'obex-data-server' 'obexd-client') # kdebase-workspace
|
||
makedepends=('cmake' 'automoc4' 'git')
|
||
provides=(bluedevil)
|
||
conflicts=(bluedevil)
|
||
source=("http://chakra-project.org/sources/bluedevil/bluedevil-$pkgver.tar.xz")
|
||
md5sums=('4dfb05c0ecb4d8c0c55d7cd01f54198b') # bluedevil-20101018.tar.xz
|
||
|
||
# create tarball: source PKGBUILD && mksource
|
||
|
||
mksource() {
|
||
git clone git://gitorious.org/bluedevil/bluedevil.git
|
||
pushd bluedevil
|
||
popd
|
||
tar -cvJf bluedevil-${pkgver}.tar.xz bluedevil/*
|
||
md5sum bluedevil-${pkgver}.tar.xz
|
||
}
|
||
|
||
build(){
|
||
cd ${srcdir}
|
||
|
||
mkdir -p bluedevil-build
|
||
cp -R bluedevil/* bluedevil-build
|
||
cd bluedevil-build
|
||
|
||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||
-DCMAKE_SKIP_RPATH=ON \
|
||
-DCMAKE_INSTALL_PREFIX=/usr
|
||
make
|
||
}
|
||
|
||
package() {
|
||
cd ${srcdir}/bluedevil-build
|
||
make DESTDIR=${pkgdir} install
|
||
rm -R ${srcdir}/bluedevil-build
|
||
}
|