git » signond.git » commit b9fa335

upgpkg: 8.61-2: Build with Qt6 in kde-unstable

author Antonio Rojas
2023-12-22 07:45:46 UTC
committer Antonio Rojas
2023-12-22 07:45:46 UTC
parent 0de4f3147f2bf4f20b498a7d6dcf96d15277c819

upgpkg: 8.61-2: Build with Qt6 in kde-unstable

.SRCINFO +19 -0
PKGBUILD +18 -8

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..ef2b675
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = signond
+	pkgdesc = A D-Bus service which performs user authentication on behalf of its clients
+	pkgver = 8.61
+	pkgrel = 2
+	url = https://gitlab.com/accounts-sso/signond/
+	arch = x86_64
+	license = LGPL
+	makedepends = doxygen
+	makedepends = git
+	makedepends = graphviz
+	makedepends = qt6-tools
+	makedepends = ttf-font
+	depends = gcc-libs
+	depends = glibc
+	depends = qt6-base
+	source = git+https://gitlab.com/nicolasfella/signond#commit=c8ad98249af541514ff7a81634d3295e712f1a39
+	sha256sums = SKIP
+
+pkgname = signond
diff --git a/PKGBUILD b/PKGBUILD
index ec0186f..5221018 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,34 @@
 
 pkgname=signond
 pkgver=8.61
-pkgrel=1
+pkgrel=2
 pkgdesc='A D-Bus service which performs user authentication on behalf of its clients'
 arch=(x86_64)
 url='https://gitlab.com/accounts-sso/signond/'
 license=(LGPL)
-depends=(qt5-base)
-makedepends=(doxygen graphviz ttf-font qt5-tools)
-source=(https://gitlab.com/accounts-sso/signond/-/archive/VERSION_$pkgver/signond-VERSION_$pkgver.tar.bz2)
-sha256sums=('5d9f29fbf5892d01e38ce931b9a69c4bb08e6788f6cbdc80c277f4723b44249d')
+depends=(gcc-libs
+         glibc
+         qt6-base)
+makedepends=(doxygen
+             git
+             graphviz
+             qt6-tools
+             ttf-font)
+# source=(https://gitlab.com/accounts-sso/signond/-/archive/VERSION_$pkgver/signond-VERSION_$pkgver.tar.bz2)
+_commit=c8ad98249af541514ff7a81634d3295e712f1a39
+source=(git+https://gitlab.com/nicolasfella/signond#commit=$_commit)
+sha256sums=('SKIP')
 
 build() {
-  cd $pkgname-VERSION_$pkgver
-  qmake PREFIX=/usr LIBDIR=/usr/lib
+  cd $pkgname
+  qmake6 \
+    PREFIX=/usr \
+    LIBDIR=/usr/lib
   make
 }
 
 package() {
-  cd $pkgname-VERSION_$pkgver
+  cd $pkgname
   make INSTALL_ROOT="$pkgdir" install
 
   # Do not ship docs