git » sonnet.git » commit 3c5b125

upgpkg: 5.240.0.20231001-1: Initial KF6 packages

author Antonio Rojas
2023-10-02 16:07:21 UTC
committer Antonio Rojas
2023-10-02 16:07:21 UTC
parent 9759f0aeec17979817f839bd3dbe09c3b8b41648

upgpkg: 5.240.0.20231001-1: Initial KF6 packages

.SRCINFO +31 -0
PKGBUILD +25 -11

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..3877f5f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = sonnet
+	pkgdesc = Spelling framework for Qt5
+	pkgver = 5.240.0.20231001
+	pkgrel = 1
+	url = https://community.kde.org/Frameworks
+	arch = x86_64
+	groups = kf6
+	license = LGPL
+	makedepends = aspell
+	makedepends = doxygen
+	makedepends = extra-cmake-modules
+	makedepends = hspell
+	makedepends = hunspell
+	makedepends = libvoikko
+	makedepends = qt6-declarative
+	makedepends = qt6-doc
+	makedepends = qt6-tools
+	makedepends = git
+	depends = gcc-libs
+	depends = glibc
+	depends = qt6-base
+	optdepends = aspell: spell checking via aspell
+	optdepends = hspell: spell checking for Hebrew
+	optdepends = hunspell: spell checking via hunspell
+	optdepends = libvoikko: Finnish support via Voikko
+	optdepends = qt6-declarative: QML bindings
+	source = git+https://invent.kde.org/frameworks/sonnet#commit=2743bc918fac9a7c36752d2e2074be8d7b12a929
+	validpgpkeys = 53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB
+	sha256sums = SKIP
+
+pkgname = sonnet
diff --git a/PKGBUILD b/PKGBUILD
index d3d23fe..0dcf4fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,39 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=sonnet
-pkgver=5.110.0
+pkgver=5.240.0.20231001
 pkgrel=1
 pkgdesc='Spelling framework for Qt5'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
 license=(LGPL)
-depends=(qt5-base)
-makedepends=(extra-cmake-modules qt5-declarative qt5-tools qt5-doc hunspell aspell hspell libvoikko doxygen)
-optdepends=('hunspell: spell checking via hunspell' 'aspell: spell checking via aspell' 
-            'hspell: spell checking for Hebrew' 'libvoikko: Finnish support via Voikko'
-            'qt5-declarative: QML bindings')
-groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('1114a1fe84f390fbadd03cf434c1f741b75a4ffe18014633f903f8e0fd30139b'
-            'SKIP')
+depends=(gcc-libs
+         glibc
+         qt6-base)
+makedepends=(aspell
+             doxygen
+             extra-cmake-modules
+             hspell
+             hunspell
+             libvoikko
+             qt6-declarative
+             qt6-doc
+             qt6-tools)
+optdepends=('aspell: spell checking via aspell'
+            'hspell: spell checking for Hebrew'
+            'hunspell: spell checking via hunspell' 
+            'libvoikko: Finnish support via Voikko'
+            'qt6-declarative: QML bindings')
+groups=(kf6)
+#source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
+makedepends+=(git)
+_commit=2743bc918fac9a7c36752d2e2074be8d7b12a929
+source=(git+https://invent.kde.org/frameworks/$pkgname#commit=$_commit)
+sha256sums=('SKIP')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 build() {
-  cmake -B build -S $pkgname-$pkgver \
+  cmake -B build -S $pkgname \
     -DBUILD_TESTING=OFF \
     -DBUILD_QCH=ON
   cmake --build build