blob: 330039e14fcbecdc7a06e3480d1431c4df0f7264 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: johnjq <dev [at] johnjq (dot) com>
pkgname=python-pcloudapi-git
pkgver=v0.0.2.r0.gc303afe
pkgrel=3
pkgdesc="A python3 library for accessing the pcloud.com API"
arch=("any")
url="https://github.com/tochev/python3-pcloudapi"
license=("MIT")
depends=("python" "python-requests")
options=("!emptydirs")
source=("git+https://github.com/tochev/python3-pcloudapi")
sha512sums=("SKIP")
pkgver() {
cd "python3-pcloudapi"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/python3-pcloudapi"
python setup.py install --root="$pkgdir/" --optimize=1
install -m 644 -D LICENCE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|