[arch-commits] Commit in deepin-social-sharing/repos (2 files)

Felix Yan fyan at archlinux.org
Tue Jan 12 10:28:04 UTC 2016


    Date: Tuesday, January 12, 2016 @ 11:28:03
  Author: fyan
Revision: 156116

archrelease: copy trunk to community-staging-any

Added:
  deepin-social-sharing/repos/community-staging-any/
  deepin-social-sharing/repos/community-staging-any/PKGBUILD
    (from rev 156115, deepin-social-sharing/trunk/PKGBUILD)

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

Copied: deepin-social-sharing/repos/community-staging-any/PKGBUILD (from rev 156115, deepin-social-sharing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-01-12 10:28:03 UTC (rev 156116)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-social-sharing
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="Deepin social sharing service"
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-social-sharing"
+license=('GPL3')
+depends=('deepin-qml-widgets' 'python2-pyqt5' 'python2-requests-oauthlib')
+makedepends=('deepin-gettext-tools' 'git')
+groups=('deepin')
+source=("git+https://github.com/linuxdeepin/deepin-social-sharing.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd deepin-social-sharing
+
+  # fix python version
+  find src -type f | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+  cd deepin-social-sharing
+
+  make
+}
+
+package() {
+  cd deepin-social-sharing
+  make DESTDIR="${pkgdir}" install
+}
+
+ # Local Variables:
+ # sh-basic-offset: 2
+ # End:



More information about the arch-commits mailing list