[arch-commits] Commit in qscintilla/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:12:22 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:12:22
Author: foutrelis
Revision: 399964
archrelease: copy trunk to staging-x86_64
Added:
qscintilla/repos/staging-x86_64/
qscintilla/repos/staging-x86_64/PKGBUILD
(from rev 399963, qscintilla/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: qscintilla/repos/staging-x86_64/PKGBUILD (from rev 399963, qscintilla/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-10 04:12:22 UTC (rev 399964)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+
+pkgbase=qscintilla
+pkgname=('qscintilla-qt5' 'python-qscintilla-qt5')
+pkgver=2.11.5
+pkgrel=2
+license=('GPL')
+arch=('x86_64')
+url="https://www.riverbankcomputing.com/software/qscintilla/intro"
+makedepends=('python-pyqt5' 'qt5-tools' 'sip5' 'pyqt-builder')
+source=("https://www.riverbankcomputing.com/static/Downloads/QScintilla/$pkgver/QScintilla-$pkgver.tar.gz")
+sha256sums=('9361e26fd7fb7b5819a7eb92c5c1880a18de9bd3ed9dd2eb008e57388696716b')
+
+build() {
+ cd QScintilla-${pkgver}
+ export QMAKEFEATURES=$PWD/Qt4Qt5/features/
+
+ cd Qt4Qt5
+ qmake-qt5
+ make
+
+ cd ../designer-Qt4Qt5
+ qmake-qt5 INCLUDEPATH+=../Qt4Qt5 QMAKE_LIBDIR+=../Qt4Qt5
+ make
+
+ cd ..
+ sip-build \
+ --no-make \
+ --qsci-features-dir Qt4Qt5/features \
+ --qsci-include-dir Qt4Qt5 \
+ --qsci-library-dir Qt4Qt5 \
+ --api-dir /usr/share/qt/qsci/api/python
+ cd build
+ make
+}
+
+package_qscintilla-qt5() {
+ pkgdesc="A port to Qt5 of Neil Hodgson's Scintilla C++ editor class"
+ depends=(qt5-base)
+
+ cd QScintilla-${pkgver}/Qt4Qt5
+ make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
+
+ cd ../designer-Qt4Qt5
+ make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
+}
+
+package_python-qscintilla-qt5() {
+ pkgdesc="Python bindings for QScintilla2"
+ depends=(qscintilla-qt5 python-pyqt5)
+ replaces=(python-qscintilla-qt5-common)
+
+ cd QScintilla-${pkgver}/build
+ make INSTALL_ROOT="$pkgdir" install -j1
+}
More information about the arch-commits
mailing list