blob: 31008f50410fcefb792ff4970b1e024246b8d878 (
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
|
# $Id$
# Contributor: Grey Christoforo <first name at last name dot net>
# Maintainer: Neko_Rikka <address at domain dot tld>
pkgname=python-unitypy-git
pkgver=r442.1a6d5dc
pkgrel=3
pkgdesc="A unity asset extractor based on unitypack and AssetStudio."
arch=('x86_64')
url="https://github.com/K0lb3/UnityPy"
license=('MIT')
provides=('python-unitypy')
conflicts=('python-unitypy')
depends=(
'python-lz4'
'python-brotli'
'python-pillow'
'python-fsb5-git'
'python-texture2ddecoder'
'python-etcpak-git'
'python-tabulate'
'python-fsspec'
)
checkdepends=('python-pytest' 'python-pytest-cov')
makedepends=('git')
source=("git+https://github.com/K0lb3/UnityPy.git")
md5sums=('SKIP')
pkgver() {
cd UnityPy
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
check() {
cd UnityPy
pytest -v --cov || true
}
package() {
cd UnityPy
python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1
}
|