[arch-commits] Commit in (5 files)
Felix Yan
fyan at archlinux.org
Wed Sep 16 09:51:02 UTC 2015
Date: Wednesday, September 16, 2015 @ 11:51:01
Author: fyan
Revision: 140363
addpkg: deepin-screenshot 3.1.1-1
Added:
deepin-screenshot/
deepin-screenshot/repos/
deepin-screenshot/trunk/
deepin-screenshot/trunk/PKGBUILD
deepin-screenshot/trunk/deepin-screenshot.install
---------------------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
deepin-screenshot.install | 11 +++++++++++
2 files changed, 52 insertions(+)
Added: deepin-screenshot/trunk/PKGBUILD
===================================================================
--- deepin-screenshot/trunk/PKGBUILD (rev 0)
+++ deepin-screenshot/trunk/PKGBUILD 2015-09-16 09:51:01 UTC (rev 140363)
@@ -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:
Property changes on: deepin-screenshot/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: deepin-screenshot/trunk/deepin-screenshot.install
===================================================================
--- deepin-screenshot/trunk/deepin-screenshot.install (rev 0)
+++ deepin-screenshot/trunk/deepin-screenshot.install 2015-09-16 09:51:01 UTC (rev 140363)
@@ -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