desktop/nepomuk-widgets/PKGBUILD
Fabian Kosmale f4520a3680 fix version
2014-03-26 19:48:17 +00:00

45 lines
1.1 KiB
Bash

# 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="nepomuk-widgets"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=2
pkgdesc="Widgets for Nepomuk"
url="http://www.kde.org"
license=('GPL'
'LGPL'
'FDL')
options=('docs'
'!header'
'debug'
'log')
depends=("kdelibs>=${_kdever}"
"nepomuk-core>=${_kdever}")
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} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}