desktop/kde-baseapps-konsole/PKGBUILD
Fabian Kosmale 827103a7bc some fixes
2014-03-26 12:37:59 +00:00

42 lines
1.3 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=kde-baseapps-konsole
pkgver=${_kdever}
pkgrel=1
pkgdesc="KDE terminal emulator"
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')
conflicts=('kdebase-konsole')
replaces=('kdebase-konsole')
categories=('system')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/konsole-$_kdever.tar.xz"
"Shell_new.diff")
sha256sums=(`grep konsole-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`
'ba0c40a58cf5823cb038ebfef94c0a2166b8ecac220ae68c82d8a992891f9d6a')
build() {
cd "${srcdir}/konsole-$pkgver"
patch -p1 -i ${srcdir}/Shell_new.diff
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}/konsole-$pkgver"
make DESTDIR="${pkgdir}" install
}