From 9bbf29b3c02925cd654dfc7c04bf99f3c722f736 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 23 Apr 2017 15:56:29 +0000 Subject: [PATCH] added extra/ki18n --- extra/ki18n/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 extra/ki18n/PKGBUILD diff --git a/extra/ki18n/PKGBUILD b/extra/ki18n/PKGBUILD new file mode 100644 index 000000000..4dfda40e7 --- /dev/null +++ b/extra/ki18n/PKGBUILD @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino + +# ALARM: Kevin Mihelich +# - drop clang makedepend, FTBFS on AArch64 + +pkgname=ki18n +pkgver=5.33.0 +pkgrel=2 +pkgdesc='Advanced internationalization framework' +arch=('i686' 'x86_64') +url='https://community.kde.org/Frameworks' +license=('LGPL') +depends=('qt5-script') +makedepends=('extra-cmake-modules' 'python' 'qt5-declarative' 'python-pyqt5' 'python2-pyqt5') +optdepends=('python-pykf5: to use the Python 3 bindings' 'python2-pykf5: to use the Python 2 bindings') +groups=('kf5') +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('611a12938ede750ee649c030fb8e248198b491747728e3a2b01671bb074eae0b' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}