Date: Tuesday, July 27, 2021 @ 07:31:04 Author: farseerfc Revision: 986597
archrelease: copy trunk to community-x86_64 Added: flameshot/repos/community-x86_64/PKGBUILD (from rev 986596, flameshot/trunk/PKGBUILD) flameshot/repos/community-x86_64/flameshot.install (from rev 986596, flameshot/trunk/flameshot.install) Deleted: flameshot/repos/community-x86_64/PKGBUILD flameshot/repos/community-x86_64/flameshot.install -------------------+ PKGBUILD | 70 ++++++++++++++++++++++++++-------------------------- flameshot.install | 44 ++++++++++++++++---------------- 2 files changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-27 07:29:32 UTC (rev 986596) +++ PKGBUILD 2021-07-27 07:31:04 UTC (rev 986597) @@ -1,35 +0,0 @@ -# Maintainer: Jiachen YANG <farsee...@archlinux.org> -# Contributor: xyzzy <628...@gmail.com> - -pkgname=flameshot -pkgver=0.10.0 -pkgrel=1 -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') -optdepends=('gnome-shell-extension-appindicator: for system tray icon if you are using Gnome') -source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('44e53c5dcefddb05bd6fa1af667df287f44baa1746468bfab5f76318c0bb3f83') - -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 986596, flameshot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-27 07:31:04 UTC (rev 986597) @@ -0,0 +1,35 @@ +# Maintainer: Jiachen YANG <farsee...@archlinux.org> +# Contributor: xyzzy <628...@gmail.com> + +pkgname=flameshot +pkgver=0.10.1 +pkgrel=1 +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') +optdepends=('gnome-shell-extension-appindicator: for system tray icon if you are using Gnome') +source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('c2d760345d78dd5d2488c6bea54cb10870b09772179f33594a33c8f62ccdeeb9') + +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 2021-07-27 07:29:32 UTC (rev 986596) +++ flameshot.install 2021-07-27 07:31:04 UTC (rev 986597) @@ -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 986596, flameshot/trunk/flameshot.install) =================================================================== --- flameshot.install (rev 0) +++ flameshot.install 2021-07-27 07:31:04 UTC (rev 986597) @@ -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 +}