git » syntax-highlighting.git » commit 4bf324b

KDE Frameworks 5.41

author Antonio Rojas
2017-12-10 18:26:53 UTC
committer Antonio Rojas
2017-12-10 18:26:53 UTC
parent 16f9895df95ba45150a91f684ba0ba0aba634ad4

KDE Frameworks 5.41

PKGBUILD +4 -10
pkgbuild-syntax-highlight.patch +0 -11

diff --git a/PKGBUILD b/PKGBUILD
index d6af051..07d0925 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=syntax-highlighting
-pkgver=5.40.0
+pkgver=5.41.0
 pkgrel=1
 pkgdesc='Syntax highlighting engine for structured text and code'
 arch=(x86_64)
@@ -12,19 +12,13 @@ license=(GPL2)
 depends=(qt5-base)
 makedepends=(extra-cmake-modules qt5-xmlpatterns qt5-tools doxygen)
 groups=(kf5)
-source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
-        pkgbuild-syntax-highlight.patch)
-sha256sums=('148dd0d3d091ad5ee352cc528f494a375d89d2812ff31b08c735e0929a358075'
-            'SKIP'
-            '4321ee61f2465966f87dde89cf60e39b30de14e82b492d9a11a5c7e725b1ad8f')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('0cf7fb843313863fd2faced3430d0974e5b7553275ba0a96db1e0a135c5aac42'
+            'SKIP')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
 
 prepare() {
   mkdir -p build
-
-# Add PKGBUILD syntax highlighting
-  cd $pkgname-$pkgver
-  patch -p1 -i ../pkgbuild-syntax-highlight.patch
 }
 
 build() {
diff --git a/pkgbuild-syntax-highlight.patch b/pkgbuild-syntax-highlight.patch
deleted file mode 100644
index c93d910..0000000
--- a/pkgbuild-syntax-highlight.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/data/syntax/bash.xml~	2013-06-13 09:46:51.569245577 +0000
-+++ src/data/syntax/bash.xml	2013-06-13 09:47:31.745637790 +0000
-@@ -8,7 +8,7 @@
-         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->
-         <!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )">     <!-- valid character in a file name -->
- ]>
--<language name="Bash" version="4" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
-+<language name="Bash" version="4" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
-
- <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
-     Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)