mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-27 13:22:15 +08:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname="nepomuk-core"
|
|
arch=('x86_64')
|
|
pkgver=${_kdever}
|
|
pkgrel=2
|
|
pkgdesc="The core Nepomuk system"
|
|
url="http://www.kde.org"
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
options=('docs' '!header' 'debug' 'log')
|
|
depends=("kdelibs>=${_kdever}" 'poppler-qt' 'ffmpeg' 'shared-desktop-ontologies' 'ebook-tools')
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'doxygen')
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
sha1sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
rm -rf build
|
|
mkdir -p build && cd build
|
|
|
|
msg "starting 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
|
|
}
|