author | Andrea Scarpino
<andrea@archlinux.org> 2013-12-21 16:16:21 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2013-12-21 16:16:21 UTC |
parent | fa53bb21d9f3515bf6b79293585b579d37201dab |
PKGBUILD | +10 | -10 |
diff --git a/PKGBUILD b/PKGBUILD index 8e254e0..2f37502 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,30 +1,30 @@ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=bluedevil -pkgver=2.0.git1381.f02fd99 +pkgver=2.0rc1 +_pkgver=2.0-rc1 pkgrel=1 +epoch=1 pkgdesc='KDE bluetooth framework' arch=('i686' 'x86_64') url="https://projects.kde.org/projects/extragear/base/bluedevil" license=('GPL') depends=('kdebase-workspace' 'libbluedevil') -makedepends=('cmake' 'automoc4' 'git') +makedepends=('cmake' 'automoc4') install="${pkgname}.install" -source=("git://anongit.kde.org/${pkgname}.git#branch=bluez5") -md5sums=('SKIP') - -pkgver() { - cd ${pkgname} - printf "2.0.git%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} +source=("http://download.kde.org/unstable/${pkgname}/${pkgname}-${_pkgver}.tar.xz") +md5sums=('7137a6dae1e860c91ea266546e6bfd39') prepare() { mkdir build + + # Fix build + sed -i 's/bluedevilaction//' ${pkgname}-${_pkgver}/src/wizard/CMakeLists.txt } build(){ cd build - cmake ../${pkgname} \ + cmake ../${pkgname}-${_pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make