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

Felix Yan fyan at archlinux.org
Wed Sep 30 03:31:25 UTC 2015


    Date: Wednesday, September 30, 2015 @ 05:31:25
  Author: fyan
Revision: 142237

archrelease: copy trunk to community-any

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

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

Copied: deepin-social-sharing/repos/community-any/PKGBUILD (from rev 142236, deepin-social-sharing/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-09-30 03:31:25 UTC (rev 142237)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-social-sharing
+pkgver=1.1
+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