desktop/telepathy-logger-qt/PKGBUILD
2015-04-12 19:49:27 +00:00

36 lines
950 B
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/telepathy-logger-qt
pkgname=telepathy-logger-qt
pkgver=0.9.80
pkgrel=2
pkgdesc="Qt bindings for telepathy logger"
arch=('x86_64')
url="https://projects.kde.org/projects/kdereview/telepathy-logger-qt"
license=('GPL')
depends=('telepathy-qt5' 'telepathy-logger')
makedepends=('extra-cmake-modules' 'python2' 'doxygen')
group=('kde-telepathy')
options=("debug")
#switch to stable source once available
source=("http://download.kde.org/unstable/kde-telepathy/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('37faed9d4609bb3a586581d2df600590')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DPYTHON_EXECUTABLE=/usr/bin/python2
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}