[arch-commits] Commit in flameshot/repos/community-x86_64 (4 files)

Jiachen Yang farseerfc at gemini.archlinux.org
Sat Jan 1 01:47:48 UTC 2022


    Date: Saturday, January 1, 2022 @ 01:47:48
  Author: farseerfc
Revision: 1091377

archrelease: copy trunk to community-x86_64

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

-------------------+
 PKGBUILD          |   82 ++++++++++++++++++++++++++--------------------------
 flameshot.install |   44 +++++++++++++--------------
 2 files changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-01 01:47:25 UTC (rev 1091376)
+++ PKGBUILD	2022-01-01 01:47:48 UTC (rev 1091377)
@@ -1,41 +0,0 @@
-# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
-# Contributor: xyzzy <628208 at gmail.com>
-
-pkgname=flameshot
-pkgver=0.10.2
-pkgrel=2
-pkgdesc="Powerful yet simple to use screenshot software"
-arch=('x86_64')
-url="https://github.com/flameshot-org/flameshot"
-license=('GPL')
-depends=('qt5-svg' 'hicolor-icon-theme')
-makedepends=('make' 'qt5-tools' 'cmake' 'git')
-optdepends=(
-    'gnome-shell-extension-appindicator: for system tray icon if you are using Gnome'
-    'grim: for wlroots wayland support'
-    'xdg-desktop-portal: for wayland support, you will need the implementation for your wayland desktop environment'
-)
-# fixed to the commit in v0.10.2 branch instead of tagged release, see: https://github.com/flameshot-org/flameshot/issues/2119#issuecomment-980037011 
-source=("${pkgname}-${pkgver}::git+https://github.com/flameshot-org/flameshot.git#commit=cda5a0f148ade1536d390ed988091848ecf62d13")
-#source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('SKIP')
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  mkdir build
-  cd build
-  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}/build"
-  make DESTDIR="${pkgdir}" install
-  
-  # zsh _flameshot completion is provided by zsh-completions so exclude from packaging
-  rm -rf ${pkgdir}/usr/share/zsh/
-}

Copied: flameshot/repos/community-x86_64/PKGBUILD (from rev 1091376, flameshot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-01 01:47:48 UTC (rev 1091377)
@@ -0,0 +1,41 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: xyzzy <628208 at gmail.com>
+
+pkgname=flameshot
+pkgver=0.10.2
+pkgrel=2
+pkgdesc="Powerful yet simple to use screenshot software"
+arch=('x86_64')
+url="https://github.com/flameshot-org/flameshot"
+license=('GPL')
+depends=('qt5-svg' 'hicolor-icon-theme')
+makedepends=('make' 'qt5-tools' 'cmake' 'git')
+optdepends=(
+    'gnome-shell-extension-appindicator: for system tray icon if you are using Gnome'
+    'grim: for wlroots wayland support'
+    'xdg-desktop-portal: for wayland support, you will need the implementation for your wayland desktop environment'
+)
+# fixed to the commit in v0.10.2 branch instead of tagged release, see: https://github.com/flameshot-org/flameshot/issues/2119#issuecomment-980037011 
+source=("${pkgname}-${pkgver}::git+https://github.com/flameshot-org/flameshot.git#commit=cda5a0f148ade1536d390ed988091848ecf62d13")
+#source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  mkdir build
+  cd build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+  
+  # zsh _flameshot completion is provided by zsh-completions so exclude from packaging
+  rm -rf ${pkgdir}/usr/share/zsh/
+}

Deleted: flameshot.install
===================================================================
--- flameshot.install	2022-01-01 01:47:25 UTC (rev 1091376)
+++ flameshot.install	2022-01-01 01:47:48 UTC (rev 1091377)
@@ -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 1091376, flameshot/trunk/flameshot.install)
===================================================================
--- flameshot.install	                        (rev 0)
+++ flameshot.install	2022-01-01 01:47:48 UTC (rev 1091377)
@@ -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