mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
39 lines
909 B
Bash
39 lines
909 B
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=konsolepart4
|
|
pkgver=${_oldkdever}
|
|
pkgrel=7
|
|
arch=('x86_64')
|
|
url='http://kde.org/applications/system/konsole/'
|
|
pkgdesc="KDE terminal part"
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('kdebase-runtime' 'kde-baseapps-lib')
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
|
provides=('kde-baseapps-konsole')
|
|
conflicts=("kde-baseapps-konsole<$pkgver-2")
|
|
source=("http://download.kde.org/stable/${pkgver}/src/konsole-${pkgver}.tar.xz")
|
|
sha1sums=('5ae78061f38f06f80ee10f4475ff33d1c0843b4d')
|
|
|
|
prepare() {
|
|
mkdir build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../konsole-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE4_BUILD_TESTS=OFF \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
# provided by konsole
|
|
rm -r "$pkgdir"/usr/{bin,share/{applications,doc}}
|
|
rm "${pkgdir}"/usr/lib/libkdeinit4_konsole.so
|
|
}
|