bluedevil update

This commit is contained in:
abveritas 2011-10-09 17:48:16 +00:00
parent b83a2aa55b
commit 82c450d86c
2 changed files with 24 additions and 17 deletions

View File

@ -8,34 +8,29 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=bluedevil
pkgver=1.1.1
pkgrel=2
pkgdesc='The new bluetooth stack for KDE, it is composed of: KCM, KDED, KIO, Library and some other small applications'
pkgver=1.2.1
pkgrel=1
pkgdesc='KDE bluetooth framework'
arch=('i686' 'x86_64')
url="http://gitorious.org/bluedevil"
url="https://projects.kde.org/projects/extragear/base/bluedevil"
license=('GPL')
depends=('kdelibs' 'libbluedevil>=1.9' 'obex-data-server' 'obexd-client') # kdebase-workspace
depends=('kde-workspace' 'libbluedevil' 'obex-data-server' 'obexd-client')
makedepends=('cmake' 'automoc4')
provides=(bluedevil)
conflicts=(bluedevil-git)
install="${pkgname}.install"
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('b3764fb8ead502e2d410b0c0fc86ac6c')
md5sums=('e5f53fa306f11732f18eaed141cbd51b')
build(){
cd ${srcdir}
mkdir -p build
cd "${srcdir}"
mkdir build
cd build
cmake ../$pkgname-$pkgver \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,12 @@
post_install() {
update-mime-database usr/share/mime &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}