Date: Sunday, November 17, 2019 @ 23:57:12 Author: arojas Revision: 369084
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kig/repos/kde-unstable-x86_64/ kig/repos/kde-unstable-x86_64/PKGBUILD (from rev 369083, kig/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: kig/repos/kde-unstable-x86_64/PKGBUILD (from rev 369083, kig/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2019-11-17 23:57:12 UTC (rev 369084) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kig +pkgver=19.11.80 +pkgrel=1 +pkgdesc="Interactive Geometry" +url="https://kde.org/applications/education/kig/" +arch=(x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdeedu) +depends=(ktexteditor qt5-xmlpatterns boost-libs python2 hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools boost) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('04714e4608ac8a564347aa75040ea1150e7dffb9e52d389d8f7bde1f524820b5' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + # Use the python2 executable + sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i "$pkgdir"/usr/bin/pykig.py +}