[arch-commits] Commit in qtermwidget/repos/community-x86_64 (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sat Dec 19 18:38:42 UTC 2020
Date: Saturday, December 19, 2020 @ 18:38:41
Author: yan12125
Revision: 780006
archrelease: copy trunk to community-x86_64
Added:
qtermwidget/repos/community-x86_64/PKGBUILD
(from rev 780005, qtermwidget/trunk/PKGBUILD)
Deleted:
qtermwidget/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 43 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-19 18:38:29 UTC (rev 780005)
+++ PKGBUILD 2020-12-19 18:38:41 UTC (rev 780006)
@@ -1,40 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=qtermwidget
-pkgver=0.16.1
-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")
-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=('9266fe2b9d8b8c7297960660c13f816093706f18453c883671445ed49123b938'
- '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
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/$pkgname-$pkgver/README.md" -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: qtermwidget/repos/community-x86_64/PKGBUILD (from rev 780005, qtermwidget/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-19 18:38:41 UTC (rev 780006)
@@ -0,0 +1,43 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=qtermwidget
+pkgver=0.16.1
+pkgrel=2
+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-sip" "sip")
+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=('9266fe2b9d8b8c7297960660c13f816093706f18453c883671445ed49123b938'
+ '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