2015-02-23 23:08:49 +08:00
|
|
|
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/konsole
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
2014-07-29 06:19:47 +08:00
|
|
|
|
|
|
|
pkgname=konsole
|
2015-02-23 23:08:49 +08:00
|
|
|
pkgver=${_kdever}
|
2014-07-29 06:19:47 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="KDE's terminal emulator"
|
|
|
|
arch=('x86_64')
|
2015-02-23 23:08:49 +08:00
|
|
|
url='http://kde.org/applications/system/konsole/'
|
2014-07-29 06:19:47 +08:00
|
|
|
license=('LGPL')
|
2015-02-23 23:08:49 +08:00
|
|
|
depends=('kdelibs4support' 'knotifyconfig' 'kpty')
|
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
|
|
|
groups=('kde')
|
2014-07-29 06:19:47 +08:00
|
|
|
conflicts=('kde-baseapps-konsole')
|
2015-02-23 23:08:49 +08:00
|
|
|
provides=('kde-baseapps-konsole')
|
|
|
|
replaces=('kde-baseapps-konsole')
|
|
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
2014-07-29 06:19:47 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
2015-02-23 23:08:49 +08:00
|
|
|
cmake ../konsole-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
2014-07-29 06:19:47 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-02-23 23:08:49 +08:00
|
|
|
cd "${srcdir}"/build
|
2014-07-29 06:19:47 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|