2014-03-26 05:11:04 +08:00
|
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
|
|
|
|
|
|
|
# Include global configuration
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname="baloo-widgets"
|
|
|
|
arch=('x86_64')
|
|
|
|
pkgver=${_kdever}
|
2014-07-24 02:28:04 +08:00
|
|
|
pkgrel=1
|
2014-03-26 05:11:04 +08:00
|
|
|
pkgdesc="Widgets for Baloo"
|
|
|
|
url="http://www.kde.org"
|
|
|
|
license=('GPL'
|
|
|
|
'LGPL'
|
|
|
|
'FDL')
|
2014-03-26 20:37:59 +08:00
|
|
|
options=('docs'
|
2014-03-26 05:11:04 +08:00
|
|
|
'!header'
|
|
|
|
'debug'
|
|
|
|
'log')
|
|
|
|
depends=("kdelibs>=${_kdever}"
|
2014-03-26 20:37:59 +08:00
|
|
|
"baloo>=${kdever}")
|
2014-03-26 05:11:04 +08:00
|
|
|
makedepends=('pkg-config'
|
|
|
|
'cmake'
|
|
|
|
'automoc4'
|
|
|
|
'doxygen')
|
|
|
|
source=($_mirror/${pkgname}-$_kdever.tar.xz)
|
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
rm -rf build
|
|
|
|
mkdir -p build && cd build
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_BUILD_TYPE=${_build_type} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|