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

Felix Yan felixonmars at archlinux.org
Fri Aug 19 10:01:03 UTC 2016


    Date: Friday, August 19, 2016 @ 10:01:03
  Author: felixonmars
Revision: 187037

archrelease: copy trunk to community-testing-any

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

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

Copied: deepin-social-sharing/repos/community-testing-any/PKGBUILD (from rev 187036, deepin-social-sharing/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2016-08-19 10:01:03 UTC (rev 187037)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-social-sharing
+pkgver=1.1.3
+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