Commit de384a7c authored by Chaoting Liu's avatar Chaoting Liu

libqzeitgeist: rebuild

parent e434b00d
#
# 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>
pkgname=libqzeitgeist
pkgver=0.8.0
pkgrel=2
pkgrel=3
pkgdesc="A Qt interface to the Zeitgeist event tracking system"
url="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
arch=('i686' 'x86_64')
......@@ -18,20 +15,22 @@ source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pk
md5sums=('97bdea6a1865db7d5f29c93e3a492f24'
'd111c473314a9fe0add4888c7469b5ca')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}"/set-declarative-installation-dir.patch
cd "${srcdir}"
mkdir build
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
[[ -d build ]] && rm -rf build ; mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
-DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt/imports/
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt/imports/ ..
make
}
package() {
cd "${srcdir}"/build
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment