blob: 11cef44663eb0a1220bee6f0e10e83b8db376839 (
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
|
# Maintainer: Xeonacid <h.dwwwwww@gmail.com>
_name=pytsk3
pkgname=python-${_name}
pkgver=20250312
pkgrel=1
pkgdesc="Python bindings for The Sleuth Kit (libtsk)"
arch=(x86_64)
url="https://github.com/py4n6/pytsk"
license=(Apache-2.0)
depends=(gcc-libs glibc python sleuthkit)
makedepends=(git python-build python-installer python-setuptools python-wheel)
# Upstream git source is incomplete
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
sha512sums=('71c836e0d9b18851fde105d038f31e5b654791cd48922b64ea063da9242e017287673df6f727e03d16b2926bd06f4c8970f59a5e36c74fc5f8d9f7f5a9b7e376')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 README -t "$pkgdir/usr/share/doc/$pkgname"
}
|