[arch-commits] Commit in flameshot/repos/community-x86_64 (3 files)
Jiachen Yang
farseerfc at archlinux.org
Sat Feb 24 14:30:06 UTC 2018
Date: Saturday, February 24, 2018 @ 14:30:05
Author: farseerfc
Revision: 297930
archrelease: copy trunk to community-x86_64
Added:
flameshot/repos/community-x86_64/PKGBUILD
(from rev 297929, flameshot/trunk/PKGBUILD)
flameshot/repos/community-x86_64/flameshot.install
(from rev 297929, flameshot/trunk/flameshot.install)
Deleted:
flameshot/repos/community-x86_64/PKGBUILD
-------------------+
PKGBUILD | 57 +++++++++++++++++++++++-----------------------------
flameshot.install | 9 ++++++++
2 files changed, 35 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-24 14:28:59 UTC (rev 297929)
+++ PKGBUILD 2018-02-24 14:30:05 UTC (rev 297930)
@@ -1,31 +0,0 @@
-# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
-# AUR Maintainer: xyzzy <628208 at gmail.com>
-
-pkgname=flameshot
-pkgver=0.5.0
-pkgrel=4
-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')
-provides=('flameshot')
-source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz")
-sha256sums=('32d593c14c37286d9f64873c4ef9a07eb084723c92b2280d5c22152547c1e3f0')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- qmake
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -Dm755 "./flameshot" "${pkgdir}/usr/bin/flameshot"
- install -Dm644 "./dbus/package/org.dharkael.Flameshot.service" "${pkgdir}/usr/share/dbus-1/services/org.dharkael.Flameshot.service"
- install -Dm644 "./dbus/org.dharkael.Flameshot.xml" "${pkgdir}/usr/share/dbus-1/interfaces/org.dharkael.Flameshot.xml"
- install -Dm644 "./docs/desktopEntry/package/flameshot.desktop" "${pkgdir}/usr/share/applications/flameshot.desktop"
- install -Dm644 "./docs/desktopEntry/package/flameshot-init.desktop" "${pkgdir}/usr/share/applications/flameshot-init.desktop"
- install -Dm644 "./img/flameshot.png" "${pkgdir}/usr/share/icons/flameshot.png"
-}
Copied: flameshot/repos/community-x86_64/PKGBUILD (from rev 297929, flameshot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-24 14:30:05 UTC (rev 297930)
@@ -0,0 +1,26 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# AUR Maintainer: xyzzy <628208 at gmail.com>
+
+pkgname=flameshot
+pkgver=0.5.1
+pkgrel=1
+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")
+sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e')
+install="${pkgname}.install"
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake CONFIG+=packaging BASEDIR="${pkgdir}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make install
+}
Copied: flameshot/repos/community-x86_64/flameshot.install (from rev 297929, flameshot/trunk/flameshot.install)
===================================================================
--- flameshot.install (rev 0)
+++ flameshot.install 2018-02-24 14:30:05 UTC (rev 297930)
@@ -0,0 +1,9 @@
+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"
+}
More information about the arch-commits
mailing list