blob: f2b36494b09f559c03622c711d345bf34da1b6c0 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Atom Long <atom.long@hotmail.com>
_pkgname=aliyunpan
pkgname=${_pkgname}-cli
pkgver=3.0.8
pkgrel=1
pkgdesc="Aliyunpan CLI"
arch=('any')
url="https://github.com/wxy1343/aliyunpan"
license=("GPL-3.0")
makedepends=('python-setuptools')
depends=('python-click-aliases'
'python-requests'
'python-simplejson'
'python-rsa'
'python-colorama'
'python-flask'
#'python-pyperclip'
'python-pyperclip-git'
'python-npyscreen'
'python-ruamel-yaml'
'python-ruamel-base'
'python-treelib'
'aria2p')
provides=('aliyunpan')
source=(${_pkgname}-${pkgver}.tar.gz::"${url}/archive/refs/tags/v${pkgver}.tar.gz"
dlnap-master.tar::"https://github.com/cherezov/dlnap/archive/master.tar.gz"
"0001-upgrade-requirements.patch")
sha256sums=('2fd8a2cc60fe73b05399886829d60bd9613da17ecee4beb8f1c63616e033ff61'
'SKIP'
'861a40ead90266234e2ecca520ea837e3118f994431053f390f7b81bf45b0fb9')
prepare() {
cd "${_pkgname}-${pkgver}"
mv -vTf "${srcdir}"/dlnap-master dlnap
patch -Np1 -i "${srcdir}/0001-upgrade-requirements.patch"
}
build() {
cd ${_pkgname}-${pkgver}
python setup.py build
}
package() {
cd ${_pkgname}-${pkgver}
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
# vim: set et ts=2 sw=2:
|