blob: 774b8a728b36b91b9d74748afcb4123ac6ab53f7 (
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
|
# Maintainer: Groctel <aur@taxorubio.com>
_name=cloup
pkgname=python-cloup
pkgver=2.0.0.post1
pkgrel=1
pkgdesc="Cloup (= Click + groups) contains a set of Click extensions for multiple purposes."
arch=('any')
license=('MIT')
url="https://github.com/janLuke/cloup"
source=("https://github.com/janLuke/$_name/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('054dc94f01ec0f5c73ecc78f5cabf859be9408aa2a1cd1d14150a97851a78a7990e12ea7930776aa471011fde35be47db5fd938851271f0ef71fe4ccb658d5d8')
depends=('python')
makedepends=(
'python-setuptools'
'python-setuptools-scm'
)
build ()
{
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
cd "$srcdir/$_name-$pkgver"
python setup.py build
}
package ()
{
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|