Date: Friday, February 23, 2018 @ 07:38:36
  Author: farseerfc
Revision: 297177

archrelease: copy trunk to community-x86_64

Added:
  flameshot/repos/
  flameshot/repos/community-x86_64/
  flameshot/repos/community-x86_64/PKGBUILD
    (from rev 297176, flameshot/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: flameshot/repos/community-x86_64/PKGBUILD (from rev 297176, 
flameshot/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD                             (rev 0)
+++ repos/community-x86_64/PKGBUILD     2018-02-23 07:38:36 UTC (rev 297177)
@@ -0,0 +1,31 @@
+# Maintainer: Jiachen YANG <farsee...@archlinux.org>
+# AUR Maintainer: xyzzy <628...@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"
+}

Reply via email to