[arch-commits] Commit in (5 files)

Felix Yan fyan at archlinux.org
Mon Sep 8 15:34:26 UTC 2014


    Date: Monday, September 8, 2014 @ 17:34:26
  Author: fyan
Revision: 118671

addpkg: bcloud 3.5.1-2

Added:
  bcloud/
  bcloud/repos/
  bcloud/trunk/
  bcloud/trunk/PKGBUILD
  bcloud/trunk/bcloud.install

----------------+
 PKGBUILD       |   31 +++++++++++++++++++++++++++++++
 bcloud.install |   12 ++++++++++++
 2 files changed, 43 insertions(+)

Added: bcloud/trunk/PKGBUILD
===================================================================
--- bcloud/trunk/PKGBUILD	                        (rev 0)
+++ bcloud/trunk/PKGBUILD	2014-09-08 15:34:26 UTC (rev 118671)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Firef0x <Firefgx {at) gmail [dot} com>
+# Contributor: MJsaka <qiuxuenan at gmail.com>
+# Contributor: Firef0x <Firefgx {at) gmail [dot} com>
+# Copyright
+# This PKGBUILD released with the GPLv3 license
+
+pkgname=bcloud
+pkgver=3.5.1
+pkgrel=2
+pkgdesc='Baidu Pan client for Linux Desktop users'
+arch=('any')
+license=('GPL3')
+url="https://github.com/LiuLang/bcloud"
+depends=('python' 'libnotify' 'python-keyring' 'python-dbus' 'python-gobject'
+         'gnome-icon-theme-symbolic' 'python-lxml' 'python-cssselect')
+optdepends=('python-crypto: crypto support for password encryption')
+install=bcloud.install
+source=("https://pypi.python.org/packages/source/b/bcloud/${pkgname}-${pkgver}.tar.gz")
+md5sums=('b30b036c566a5e865c57679cfc7da136')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  python setup.py install -O1 --skip-build --root="$pkgdir"
+}

Added: bcloud/trunk/bcloud.install
===================================================================
--- bcloud/trunk/bcloud.install	                        (rev 0)
+++ bcloud/trunk/bcloud.install	2014-09-08 15:34:26 UTC (rev 118671)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}




More information about the arch-commits mailing list