summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072024-05-19 22:40:48 +0200
committersL1pKn072024-05-19 22:40:48 +0200
commit3da895e7725c39cc46c6352ff886776131caf68a (patch)
tree63dcbed0d40e10d6cdf1a7bef62ee1bb5045081b
parente3f911e317845950222f141b00e88713b2d06b2e (diff)
downloadaur-3da895e7725c39cc46c6352ff886776131caf68a.tar.gz
bump
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD17
2 files changed, 16 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 986f92e9d0bd..2b1ed2f09e2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
pkgbase = qt-sudo
pkgdesc = A clone of LXQt sudo tool, without LXQt libs
- pkgver = 0.0.0.r1.9028265
- pkgrel = 5
+ pkgver = 1.4.0
+ pkgrel = 1
url = https://github.com/aarnt/qt-sudo.git
arch = x86_64
license = LGPL2.1
makedepends = git
- makedepends = qt5-tools
+ makedepends = qt6-tools
depends = gcc-libs
depends = glibc
- depends = qt5-base
+ depends = qt6-base
depends = sudo
- source = git+https://github.com/aarnt/qt-sudo.git#commit=90282654601767c69e564be81e8c33ab4e7c9095
+ source = git+https://github.com/aarnt/qt-sudo.git#commit=4eaad52ba5473141d5ac39f9be9636e1cdd393f4
sha256sums = SKIP
pkgname = qt-sudo
diff --git a/PKGBUILD b/PKGBUILD
index 4cbacd380496..a43510005bda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: MatMoul <matmoul at the google email domain which is .com>
pkgname=qt-sudo
-pkgver=0.0.0.r1.9028265
-pkgrel=5
+pkgver=1.4.0
+pkgrel=1
pkgdesc='A clone of LXQt sudo tool, without LXQt libs'
arch=('x86_64')
url='https://github.com/aarnt/qt-sudo.git'
@@ -11,20 +11,25 @@ license=('LGPL2.1')
depends=(
'gcc-libs' # libgcc_s.so libstdc++.so
'glibc' # libc.so
- 'qt5-base' # libQt5Core.so libQt5Gui.so libQt5Widgets.so
+ 'qt6-base' # libQt6Core.so libQt6Gui.so libQt6Widgets.so
'sudo'
)
makedepends=(
'git'
- 'qt5-tools'
+ 'qt6-tools'
)
-source=("git+https://github.com/aarnt/qt-sudo.git#commit=90282654601767c69e564be81e8c33ab4e7c9095")
+source=("git+https://github.com/aarnt/qt-sudo.git#commit=4eaad52ba5473141d5ac39f9be9636e1cdd393f4")
sha256sums=('SKIP')
+pkgver() {
+ cd qt-sudo
+ echo "$(cat sudo.cpp | grep -m1 'const QString app_version' | grep -o "[[:digit:]]*" | paste -sd'.')"
+}
+
build() {
cd qt-sudo
echo "Starting build..."
- qmake-qt5 PREFIX="${pkgdir}/usr" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}"
+ qmake6 PREFIX="${pkgdir}/usr" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}"
make
}