[arch-commits] Commit in bcloud/repos (3 files)
Felix Yan
fyan at archlinux.org
Tue Sep 22 05:39:20 UTC 2015
Date: Tuesday, September 22, 2015 @ 07:39:20
Author: fyan
Revision: 141446
archrelease: copy trunk to community-staging-any
Added:
bcloud/repos/community-staging-any/
bcloud/repos/community-staging-any/PKGBUILD
(from rev 141445, bcloud/trunk/PKGBUILD)
bcloud/repos/community-staging-any/bcloud.install
(from rev 141445, bcloud/trunk/bcloud.install)
----------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
bcloud.install | 12 ++++++++++++
2 files changed, 45 insertions(+)
Copied: bcloud/repos/community-staging-any/PKGBUILD (from rev 141445, bcloud/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-22 05:39:20 UTC (rev 141446)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Firef0x <Firefgx {at) gmail [dot} com>
+# Contributor: MJsaka <qiuxuenan at gmail.com>
+# Copyright
+# This PKGBUILD released with the GPLv3 license
+
+pkgname=bcloud
+pkgver=3.8.1
+pkgrel=2
+pkgdesc='Baidu Pan client for Linux Desktop users'
+arch=('any')
+license=('GPL3')
+url="https://github.com/LiuLang/bcloud"
+depends=('python-crypto' 'libnotify' 'python-keyring' 'python-dbus' 'python-gobject'
+ 'gnome-icon-theme-symbolic' 'python-lxml' 'python-cssselect' 'gtk3' 'python-pyinotify')
+optdepends=('gnome-keyring: To store password in GNOME Keyring'
+ 'libgnome-keyring: To store password in GNOME Keyring'
+ 'kdebindings-python: To store password in KWallet'
+ 'kwallet: To store password in KWallet')
+install=bcloud.install
+source=("https://pypi.python.org/packages/source/b/bcloud/${pkgname}-${pkgver}.tar.gz")
+md5sums=('7a420d83e5d9114782db2251e28b8a6c')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install -O1 --skip-build --root="$pkgdir"
+}
Copied: bcloud/repos/community-staging-any/bcloud.install (from rev 141445, bcloud/trunk/bcloud.install)
===================================================================
--- community-staging-any/bcloud.install (rev 0)
+++ community-staging-any/bcloud.install 2015-09-22 05:39:20 UTC (rev 141446)
@@ -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