Date: Friday, April 6, 2018 @ 07:48:57
  Author: farseerfc
Revision: 314563

archrelease: copy trunk to community-x86_64

Added:
  flameshot/repos/community-x86_64/PKGBUILD
    (from rev 314562, flameshot/trunk/PKGBUILD)
  flameshot/repos/community-x86_64/flameshot.install
    (from rev 314562, flameshot/trunk/flameshot.install)
Deleted:
  flameshot/repos/community-x86_64/PKGBUILD
  flameshot/repos/community-x86_64/flameshot.install

-------------------+
 PKGBUILD          |   75 ++++++++++++++++++++++++++--------------------------
 flameshot.install |   31 +++++++++++++++------
 2 files changed, 60 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-06 07:48:10 UTC (rev 314562)
+++ PKGBUILD    2018-04-06 07:48:57 UTC (rev 314563)
@@ -1,37 +0,0 @@
-# Maintainer: Jiachen YANG <farsee...@archlinux.org>
-# AUR Maintainer: xyzzy <628...@gmail.com>
-
-pkgname=flameshot
-pkgver=0.5.1
-pkgrel=2
-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";
-       )
-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}"
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make install
-}

Copied: flameshot/repos/community-x86_64/PKGBUILD (from rev 314562, 
flameshot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-06 07:48:57 UTC (rev 314563)
@@ -0,0 +1,38 @@
+# Maintainer: Jiachen YANG <farsee...@archlinux.org>
+# AUR Maintainer: xyzzy <628...@gmail.com>
+
+pkgname=flameshot
+pkgver=0.5.1
+pkgrel=3
+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')
+optdepends=('libappindicator-gtk3: For Gnome3 tray icon support')
+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}"
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make install
+}

Deleted: flameshot.install
===================================================================
--- flameshot.install   2018-04-06 07:48:10 UTC (rev 314562)
+++ flameshot.install   2018-04-06 07:48:57 UTC (rev 314563)
@@ -1,9 +0,0 @@
-post_upgrade(){
-       if [ $(vercmp $2 0.5.1) -lt 0 ]; then
-               post_install
-       fi
-}
-
-post_install(){
-       echo "See the link about keyboard shortcuts: 
https://github.com/lupoDharkael/flameshot#keyboard-shortcuts";
-}

Copied: flameshot/repos/community-x86_64/flameshot.install (from rev 314562, 
flameshot/trunk/flameshot.install)
===================================================================
--- flameshot.install                           (rev 0)
+++ flameshot.install   2018-04-06 07:48:57 UTC (rev 314563)
@@ -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 libappindicator-gtk3 and one of 
the tray icons extension to use the systray icons"
+}
+
+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
+}

Reply via email to