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

Jiachen Yang farseerfc at archlinux.org
Fri Dec 28 15:32:12 UTC 2018


    Date: Friday, December 28, 2018 @ 15:32:11
  Author: farseerfc
Revision: 418649

upgpkg: flameshot 0.6.0-2

flameshot fix upstream #311

Modified:
  flameshot/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-28 14:59:38 UTC (rev 418648)
+++ PKGBUILD	2018-12-28 15:32:11 UTC (rev 418649)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot"
@@ -11,15 +11,17 @@
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools')
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz"
+	"fix311.patch::https://github.com/lupoDharkael/flameshot/commit/415b059fb248eec4b4ee3be85a1594ce99bfce67.patch"
 	)
-sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589')
+sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589'
+            '94da922546ce1b41d702e13d4ec2141f6383b2410bd9b2ddd34ce75e1d8c9209')
 install="${pkgname}.install"
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  ### fix locale setting
-  #sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
+  ## fix https://github.com/lupoDharkael/flameshot/issues/311
+  patch -Np1 -i ../fix311.patch
 
   ## add a version number from pkgver
   sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 



More information about the arch-commits mailing list