git » syntax-highlighting.git » commit aef995c

upgpkg: 5.240.0.20231001-1: Initial KF6 packages

author Antonio Rojas
2023-10-06 22:22:57 UTC
committer Antonio Rojas
2023-10-06 22:22:57 UTC
parent d808524789d1112d82bf2c6b53e2c7f3621b5959

upgpkg: 5.240.0.20231001-1: Initial KF6 packages

.SRCINFO +23 -0
PKGBUILD +17 -9

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..7716b2c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = syntax-highlighting
+	pkgdesc = Syntax highlighting engine for structured text and code
+	pkgver = 5.240.0.20231001
+	pkgrel = 1
+	url = https://community.kde.org/Frameworks
+	arch = x86_64
+	groups = kf6
+	license = GPL2
+	makedepends = doxygen
+	makedepends = extra-cmake-modules
+	makedepends = qt6-declarative
+	makedepends = qt6-doc
+	makedepends = qt6-tools
+	makedepends = git
+	depends = gcc-libs
+	depends = glibc
+	depends = qt6-base
+	optdepends = qt6-declarative: QML bindings
+	source = git+https://invent.kde.org/frameworks/syntax-highlighting#commit=3334218a89840805017a6f62221da032cbd03fbf
+	validpgpkeys = 53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB
+	sha256sums = SKIP
+
+pkgname = syntax-highlighting
diff --git a/PKGBUILD b/PKGBUILD
index 8410926..30a0574 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,31 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=syntax-highlighting
-pkgver=5.110.0
+pkgver=5.240.0.20231001
 pkgrel=1
 pkgdesc='Syntax highlighting engine for structured text and code'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
 license=(GPL2)
-depends=(qt5-base)
-makedepends=(extra-cmake-modules qt5-declarative qt5-xmlpatterns qt5-tools qt5-doc doxygen)
-optdepends=('qt5-declarative: QML bindings')
-groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('85277cab858cd04f3b4861daf5d885706e0e9da3e081e098849d7806ac7a753d'
-            'SKIP')
+depends=(gcc-libs
+         glibc
+         qt6-base)
+makedepends=(doxygen
+             extra-cmake-modules
+             qt6-declarative
+             qt6-doc
+             qt6-tools)
+optdepends=('qt6-declarative: QML bindings')
+groups=(kf6)
+#source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
+makedepends+=(git)
+_commit=3334218a89840805017a6f62221da032cbd03fbf
+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 \
     -DQRC_SYNTAX=OFF \
     -DBUILD_QCH=ON