[arch-commits] Commit in notepadqq/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Apr 29 08:11:57 UTC 2018


    Date: Sunday, April 29, 2018 @ 08:11:56
  Author: bgyorgy
Revision: 318443

upgpkg: notepadqq 1.4.0-1

Update to new version

Modified:
  notepadqq/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-29 08:03:25 UTC (rev 318442)
+++ PKGBUILD	2018-04-29 08:11:56 UTC (rev 318443)
@@ -3,7 +3,7 @@
 # Contributor: Doug Newgard <scimmia at archlinux dot info>
 
 pkgname=notepadqq
-pkgver=1.3.6
+pkgver=1.4.0
 pkgrel=1
 pkgdesc='Notepad++-like text editor for Linux'
 arch=('x86_64')
@@ -12,19 +12,21 @@
 depends=('hicolor-icon-theme' 'qt5-svg' 'qt5-webkit')
 makedepends=('git' 'qt5-tools')
 options=('!emptydirs')
-_commit=ab074d30e02d49e0fe6957c1523e7fed239aff7d  # tags/v1.2.0
+_commit=a211c25701e2ac8f64f6603a1b13a306ab63a4a0  # tags/v1.4.0^0
 source=("git+https://github.com/notepadqq/notepadqq.git#commit=$_commit"
         "git+https://github.com/notepadqq/CodeMirror.git")
 sha256sums=('SKIP'
             'SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
 prepare() {
   cd $pkgname
   git config submodule.src/editor/libs/codemirror.url "$srcdir/CodeMirror"
   git submodule update --init
-
-  # Fix Qt5 version detection
-  git cherry-pick -n c340237e3f795c1bbf53259ed812b97f6dfee737
 }
 
 build() {



More information about the arch-commits mailing list