blob: a0bb78bf58c4ddbb75df61608d523e4ca72b43f8 (
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
|
# Maintainer: Yohann D'ANELLO <ynerant@crans.org>
name=squirrel-battle
pkgname=python-squirrel-battle
pkgver=23.14
pkgrel=1
pkgdesc="Watch out for squirrel's knives!"
arch=('any')
url="https://gitlab.crans.org/ynerant/squirrel-battle"
license=('GPLv3')
depends=('python')
makedepends=('gettext' 'python-setuptools')
depends=('noto-fonts-emoji')
checkdepends=('python-tox')
source=("https://gitlab.crans.org/ynerant/squirrel-battle/-/archive/v$pkgver/$name-v$pkgver.tar.gz")
sha256sums=("b75a070cef1eba227a770f0533195e512a3dc407c149ea41d334fb62fd216618")
build() {
cd $name-v$pkgver
python setup.py build
}
check() {
cd $name-v$pkgver
tox -e py3
tox -e linters
}
package() {
cd $name-v$pkgver
python setup.py install --skip-build \
--optimize=1 \
--root="${pkgdir}"
install -vDm 644 README.md \
-t "${pkgdir}/usr/share/doc/${pkgname}"
install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|