Date: Saturday, March 25, 2017 @ 00:46:58 Author: arojas Revision: 291329
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kate/repos/kde-unstable-x86_64/ kate/repos/kde-unstable-x86_64/PKGBUILD (from rev 291328, kate/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) Copied: kate/repos/kde-unstable-x86_64/PKGBUILD (from rev 291328, kate/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2017-03-25 00:46:58 UTC (rev 291329) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgbase=kate +pkgname=('kwrite' + 'kate') +pkgver=17.03.80 +pkgrel=1 +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 'knewstuff' 'ktexteditor' + 'threadweaver' 'kitemmodels' 'kactivities') +source=("https://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('acbc6ab7a7263fdc5c2041a4a7615cab8f7ff5aed217491f0e86474b3758ace5' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DBUILD_TESTING=OFF + make +} + +package_kwrite() { + pkgdesc="Text Editor" + groups=('kde-applications' 'kdebase') + url="https://www.kde.org/applications/utilities/kwrite/" + depends=('ktexteditor' 'kded' 'kactivities' 'hicolor-icon-theme') + replaces=('kdebase-kwrite') + conflicts=('kdebase-kwrite') + provides=('kdebase-kwrite') + + cd build/kwrite + make DESTDIR="${pkgdir}" install + + cd ../../build/doc/kwrite + make DESTDIR="${pkgdir}" install +} + +package_kate() { + pkgdesc="Advanced Text Editor" + groups=('kde-applications' 'kdebase') + url="https://www.kde.org/applications/utilities/kate/" + depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 'kactivities' 'hicolor-icon-theme') + replaces=('kdesdk-kate') + conflicts=('kdesdk-kate') + provides=('kdesdk-kate') + optdepends=('konsole: open a terminal in Kate') + + cd build/kate + make DESTDIR="${pkgdir}" install + + cd ../../build/doc/kate + make DESTDIR="${pkgdir}" install + + cd ../../../build/addons + make DESTDIR="${pkgdir}" install +}