mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
48 lines
1.3 KiB
Bash
48 lines
1.3 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=kde-baseapps-konsole
|
|
_pkgname=konsole
|
|
pkgver=${_kdever}
|
|
pkgrel=2
|
|
pkgdesc="KDE Terminal"
|
|
url='http://kde.org/applications/system/konsole/'
|
|
screenshot="http://userbase.kde.org/images.userbase/6/64/Konsole-KDE4.png"
|
|
arch=('x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=("kde-runtime>=${_kdever}" "kde-baseapps>=${_kdever}")
|
|
makedepends=('cmake' 'automoc4')
|
|
groups=('kde' 'kde-baseapps' 'kde-uninstall')
|
|
provides=('kdebase-konsole' 'konsole')
|
|
conflicts=('kdebase-konsole')
|
|
replaces=('kdebase-konsole')
|
|
categories=('system')
|
|
options=('docs' '!splithdr' 'splitdbg' 'log')
|
|
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
|
|
"Shell_new.diff")
|
|
md5sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`
|
|
'5d99cb37702c442ee9c9beaeaa733de0')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
|
|
patch -p1 -i ${srcdir}/Shell_new.diff
|
|
|
|
msg "starting build ..."
|
|
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|