blob: 941cf9aec0cdab1bac566afe088e15c17585fd49 (
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: Laura Demkowicz-Duffy <dev@demkowiczduffy.co.uk>
pkgname=python-minesight-git
_pkgname=minesight
pkgver=r1.c22400c
pkgrel=2
pkgdesc="Minecraft OSINT tool"
arch=('any')
url="https://github.com/Gobutsu/MineSight"
license=('AGPL-3.0-only')
depends=(
python
python-httpx
python-rich
python-beautifulsoup4
python-jsonpath-ng
python-importlib-metadata
python-setuptools
)
makedepends=(git python-build python-installer python-wheel)
provides=("$_pkgname")
source=("$_pkgname::git+$url.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir" --optimize=1
}
|