[arch-commits] Commit in flameshot/trunk (PKGBUILD)
Jiachen Yang
farseerfc at archlinux.org
Tue Apr 3 17:09:24 UTC 2018
Date: Tuesday, April 3, 2018 @ 17:09:24
Author: farseerfc
Revision: 313985
upgpkg: flameshot 0.5.1-2
flameshot backport pr174 and pr149
Modified:
flameshot/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-03 16:57:07 UTC (rev 313984)
+++ PKGBUILD 2018-04-03 17:09:24 UTC (rev 313985)
@@ -3,7 +3,7 @@
pkgname=flameshot
pkgver=0.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="Powerful yet simple to use screenshot software"
arch=('x86_64')
url="https://github.com/lupoDharkael/flameshot"
@@ -10,10 +10,21 @@
license=('GPL')
depends=('qt5-base')
makedepends=('make' 'qt5-tools')
-source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz")
-sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e')
+source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz"
+ "pr174.patch::https://github.com/lupoDharkael/flameshot/commit/986b7741428e1f00a5b0688e254665eab90c025a.patch"
+ "pr149.patch::https://github.com/lupoDharkael/flameshot/commit/1bf282921744d3b3332d626c3ca00367ac7e6a44.patch"
+ )
+sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e'
+ 'ad8d85d72e0729fb7629f04b1250fab354340987efd58f3fdd09ae6a7f075b27'
+ '2f5b165f43831f1447b28df57cb3853a0eeaa9a52b72faddc06764e4e8715ac2')
install="${pkgname}.install"
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 <../pr174.patch
+ patch -Np1 <../pr149.patch
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
qmake CONFIG+=packaging BASEDIR="${pkgdir}"
More information about the arch-commits
mailing list