[arch-commits] Commit in flameshot/repos/community-x86_64 (4 files)
Jiachen Yang
farseerfc at archlinux.org
Fri Aug 17 13:06:13 UTC 2018
Date: Friday, August 17, 2018 @ 13:06:13
Author: farseerfc
Revision: 372482
archrelease: copy trunk to community-x86_64
Added:
flameshot/repos/community-x86_64/PKGBUILD
(from rev 372481, flameshot/trunk/PKGBUILD)
flameshot/repos/community-x86_64/flameshot.install
(from rev 372481, flameshot/trunk/flameshot.install)
Deleted:
flameshot/repos/community-x86_64/PKGBUILD
flameshot/repos/community-x86_64/flameshot.install
-------------------+
PKGBUILD | 83 +++++++++++++++++++++++-----------------------------
flameshot.install | 44 +++++++++++++--------------
2 files changed, 59 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-17 13:05:15 UTC (rev 372481)
+++ PKGBUILD 2018-08-17 13:06:13 UTC (rev 372482)
@@ -1,46 +0,0 @@
-# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
-# Contributor: xyzzy <628208 at gmail.com>
-
-pkgname=flameshot
-pkgver=0.5.1
-pkgrel=6
-pkgdesc="Powerful yet simple to use screenshot software"
-arch=('x86_64')
-url="https://github.com/lupoDharkael/flameshot"
-license=('GPL')
-depends=('qt5-base')
-makedepends=('make' 'qt5-tools')
-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"
- "pr171.patch::https://github.com/lupoDharkael/flameshot/commit/b4ba65588df33ead8bd0e9898a2f0b48be9f979d.patch"
- )
-sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e'
- 'ad8d85d72e0729fb7629f04b1250fab354340987efd58f3fdd09ae6a7f075b27'
- '25cade2e09da0afa77e62178d847d4198407cff6a198bb6db7c14db128f3921e'
- 'e6479eb2a6e489e33a57d74f25c00adead799d4bd2af9e013f92b2f22d59f50d')
-install="${pkgname}.install"
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i ../pr174.patch
- patch -Np1 -i ../pr149.patch
- patch -Np1 -i ../pr171.patch
-
- ## fix locale setting
- sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
-
- ## add a version number from pkgver
- sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- qmake CONFIG+=packaging BASEDIR="${pkgdir}"
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make install
-}
Copied: flameshot/repos/community-x86_64/PKGBUILD (from rev 372481, flameshot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-17 13:06:13 UTC (rev 372482)
@@ -0,0 +1,37 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: xyzzy <628208 at gmail.com>
+
+pkgname=flameshot
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Powerful yet simple to use screenshot software"
+arch=('x86_64')
+url="https://github.com/lupoDharkael/flameshot"
+license=('GPL')
+depends=('qt5-svg' 'hicolor-icon-theme')
+makedepends=('make' 'qt5-tools')
+source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz"
+ )
+sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589')
+install="${pkgname}.install"
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ### fix locale setting
+ #sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
+
+ ## add a version number from pkgver
+ sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake CONFIG+=packaging BASEDIR="${pkgdir}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+}
Deleted: flameshot.install
===================================================================
--- flameshot.install 2018-08-17 13:05:15 UTC (rev 372481)
+++ flameshot.install 2018-08-17 13:06:13 UTC (rev 372482)
@@ -1,22 +0,0 @@
-echo_shortcut() {
- echo "See the link about keyboard shortcuts: https://github.com/lupoDharkael/flameshot#keyboard-shortcuts"
-}
-
-echo_gnome3() {
- echo "For Gnome3 users: please install one of the tray icons extension to use the systray icon"
-}
-
-post_upgrade(){
- if [ $(vercmp $2 0.5.1) -lt 0 ]; then
- echo_shortcut
- fi
-
- if [ $(vercmp $2 0.5.1-3) -lt 0 ]; then
- echo_gnome3
- fi
-}
-
-post_install(){
- echo_shortcut
- echo_gnome3
-}
Copied: flameshot/repos/community-x86_64/flameshot.install (from rev 372481, flameshot/trunk/flameshot.install)
===================================================================
--- flameshot.install (rev 0)
+++ flameshot.install 2018-08-17 13:06:13 UTC (rev 372482)
@@ -0,0 +1,22 @@
+echo_shortcut() {
+ echo "See the link about keyboard shortcuts: https://github.com/lupoDharkael/flameshot#keyboard-shortcuts"
+}
+
+echo_gnome3() {
+ echo "For Gnome3 users: please install one of the tray icons extension to use the systray icon"
+}
+
+post_upgrade(){
+ if [ $(vercmp $2 0.5.1) -lt 0 ]; then
+ echo_shortcut
+ fi
+
+ if [ $(vercmp $2 0.5.1-3) -lt 0 ]; then
+ echo_gnome3
+ fi
+}
+
+post_install(){
+ echo_shortcut
+ echo_gnome3
+}
More information about the arch-commits
mailing list