blob: e3fe99bf1bb532762196a8a98a44c60b4e40618b (
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
|
# Maintainer: nblock <nblock [/at\] archlinux DOT us>
pkgname=vja
pkgver=4.6.0
pkgrel=1
pkgdesc='A simple CLI for Vikunja'
arch=('any')
url='https://gitlab.com/ce72/vja'
license=('GPL-3.0-or-later')
depends=('python'
'python-click'
'python-click-aliases'
'python-requests'
'python-parsedatetime'
'python-dateutil'
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha1sums=('3d5d55938e644993ade0ef321fd4f0041b84f568')
sha256sums=('a23feee5059952942418a38c1d16165f43a0c500ded52fa2cdc8999aa0bd4081')
prepare() {
cd "$pkgname-$pkgver"
rm -r tests/
}
build() {
cd "$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$pkgname-$pkgver"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python setup.py install --skip-build --root="$pkgdir/" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 noet:
|