[arch-commits] Commit in qtermwidget/repos (2 files)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Sun Nov 7 03:03:19 UTC 2021


    Date: Sunday, November 7, 2021 @ 03:03:19
  Author: yan12125
Revision: 1038106

archrelease: copy trunk to community-testing-x86_64

Added:
  qtermwidget/repos/community-testing-x86_64/
  qtermwidget/repos/community-testing-x86_64/PKGBUILD
    (from rev 1038105, qtermwidget/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: qtermwidget/repos/community-testing-x86_64/PKGBUILD (from rev 1038105, qtermwidget/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-11-07 03:03:19 UTC (rev 1038106)
@@ -0,0 +1,43 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=qtermwidget
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A terminal widget for Qt, used by QTerminal"
+arch=("x86_64")
+url="https://github.com/lxqt/$pkgname"
+# Yep, it's messy when you're talking about licenses
+license=("LGPL" "custom:BSD" "custom:Public Domain")
+depends=("qt5-base")
+makedepends=("lxqt-build-tools" "python-pyqt5" "python-sip4" "sip4")
+optdepends=(
+  'python: PyQt5 bindings'
+)
+source=(
+  "https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+  "https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
+)
+sha256sums=('2af0e9f212932cb36bbbf20722eaf4a1d3acf640dfed9b763ca7d388af8b7fd2'
+            'SKIP')
+validpgpkeys=(
+  "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
+  "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
+  "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
+)
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake "$srcdir/$pkgname-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DQTERMWIDGET_BUILD_PYTHON_BINDING=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/$pkgname-$pkgver/README.md" -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list