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

Felix Yan fyan at archlinux.org
Wed Sep 16 09:51:33 UTC 2015


    Date: Wednesday, September 16, 2015 @ 11:51:32
  Author: fyan
Revision: 140364

archrelease: copy trunk to community-any

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

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

Copied: deepin-screenshot/repos/community-any/PKGBUILD (from rev 140363, deepin-screenshot/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-09-16 09:51:32 UTC (rev 140364)
@@ -0,0 +1,41 @@
+# $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.1
+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'
+         'python2' 'python2-pyqt5' 'python2-wnck' 'python2-xpybutil')
+makedepends=('deepin-gettext-tools' 'git')
+groups=('deepin-extra')
+install="${pkgname}.install"
+source=("git+https://github.com/linuxdeepin/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-any/deepin-screenshot.install (from rev 140363, deepin-screenshot/trunk/deepin-screenshot.install)
===================================================================
--- community-any/deepin-screenshot.install	                        (rev 0)
+++ community-any/deepin-screenshot.install	2015-09-16 09:51:32 UTC (rev 140364)
@@ -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