diff --git a/archlinuxcn/qtermwidget-git/PKGBUILD b/archlinuxcn/qtermwidget-git/PKGBUILD index d0bce30025b4..5af7f1c0b49b 100644 --- a/archlinuxcn/qtermwidget-git/PKGBUILD +++ b/archlinuxcn/qtermwidget-git/PKGBUILD @@ -3,7 +3,7 @@ _pkgname=qtermwidget pkgname=$_pkgname-git -pkgver=1.0.0.13.g0ad5954 +pkgver=1.0.0.14.g76b4e9f pkgrel=1 pkgdesc="A terminal widget for Qt, used by QTerminal" arch=("x86_64") @@ -12,7 +12,7 @@ url="https://github.com/lxqt/qtermwidget" license=("LGPL" "custom:BSD" "custom:Public Domain") depends=("qt5-base") makedepends=("git" "cmake" "lxqt-build-tools-git" "qt5-tools" - "python-pyqt5" "python-sip4" "sip4") + "python-pyqt5" "pyqt-builder" "sip" "python-installer") provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") optdepends=( @@ -30,13 +30,18 @@ build() { mkdir -p build cd build cmake "$srcdir/$_pkgname" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DQTERMWIDGET_BUILD_PYTHON_BINDING=OFF + -DCMAKE_INSTALL_PREFIX=/usr make + + cd "$srcdir/$_pkgname"/pyqt + CXXFLAGS="-I$PWD/../lib -I$PWD/../../build/lib" LDFLAGS="-L$PWD/../../build" sip-wheel --verbose } package() { cd build make DESTDIR="$pkgdir" install install -Dm644 "$srcdir/$_pkgname/README.md" -t "$pkgdir"/usr/share/licenses/$pkgname + + cd "$srcdir/$_pkgname"/pyqt + python -m installer --destdir="$pkgdir" *.whl } diff --git a/archlinuxcn/qtermwidget-git/lilac.yaml b/archlinuxcn/qtermwidget-git/lilac.yaml index a259a1e8a922..9e0945e377ef 100644 --- a/archlinuxcn/qtermwidget-git/lilac.yaml +++ b/archlinuxcn/qtermwidget-git/lilac.yaml @@ -14,7 +14,6 @@ pre_build_script: | post_build_script: | git_pkgbuild_commit() - update_aur_repo() update_on: - source: github