[arch-commits] Commit in deepin-screenshot/repos (3 files)

Felix Yan fyan at archlinux.org
Fri Jan 22 13:18:14 UTC 2016


    Date: Friday, January 22, 2016 @ 14:18:14
  Author: fyan
Revision: 158585

archrelease: copy trunk to community-staging-any

Added:
  deepin-screenshot/repos/community-staging-any/
  deepin-screenshot/repos/community-staging-any/PKGBUILD
    (from rev 158584, deepin-screenshot/trunk/PKGBUILD)
  deepin-screenshot/repos/community-staging-any/deepin-screenshot.install
    (from rev 158584, deepin-screenshot/trunk/deepin-screenshot.install)

---------------------------+
 PKGBUILD                  |   42 ++++++++++++++++++++++++++++++++++++++++++
 deepin-screenshot.install |   11 +++++++++++
 2 files changed, 53 insertions(+)

Copied: deepin-screenshot/repos/community-staging-any/PKGBUILD (from rev 158584, deepin-screenshot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-01-22 13:18:14 UTC (rev 158585)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-screenshot
+pkgver=3.1.7
+pkgrel=1
+pkgdesc="Easy-to-use screenshot tool for linuxdeepin desktop environment"
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-screenshot"
+license=('GPL3')
+depends=('deepin-menu' 'deepin-qml-widgets' 'pygtk' 'qt5-quickcontrols'
+         'qt5-svg' 'python2-pyqt5' 'python2-wnck' 'python2-xpybutil')
+makedepends=('deepin-gettext-tools' 'git')
+optdepends=('deepin-social-sharing: for "Share" support'
+            'deepin-daemon: for sound effect')
+groups=('deepin-extra')
+install="${pkgname}.install"
+source=("git+https://cr.deepin.io/deepin-screenshot.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd deepin-screenshot
+
+  # fix python version
+  find src -type f | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+  cd deepin-screenshot
+  make
+}
+
+package() {
+  cd deepin-screenshot
+  make DESTDIR="${pkgdir}" install
+}
+
+ # Local Variables:
+ # sh-basic-offset: 2
+ # End:

Copied: deepin-screenshot/repos/community-staging-any/deepin-screenshot.install (from rev 158584, deepin-screenshot/trunk/deepin-screenshot.install)
===================================================================
--- community-staging-any/deepin-screenshot.install	                        (rev 0)
+++ community-staging-any/deepin-screenshot.install	2016-01-22 13:18:14 UTC (rev 158585)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+post_remove() {
+  post_install "$1"
+}



More information about the arch-commits mailing list