blob: 6da7f85b7d8c596ef2565d646302d12a88279f9c (
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
|
# Maintainer: Rene Hollander <mail@renehollander.at>
pkgname=python-pylibzfs
pkgver=22.12.2
pkgrel=1
pkgdesc="Python libzfs bindings."
arch=("x86_64")
url="https://github.com/truenas/py-libzfs"
license=("custom")
makedepends=("python-setuptools" "cython")
depends=("zfs-utils" "python")
source=("https://github.com/truenas/py-libzfs/archive/refs/tags/TS-${pkgver}.tar.gz")
sha512sums=("568100986cec58e0e79d3024fb7d8b6a864e6f67d0f51bd63e16c2c0097d0868e4e7bbf5c63c2541158dec672bebb8285cf2ac3933054216c491b03f39041048")
build() {
cd "${srcdir}/py-libzfs-TS-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/py-libzfs-TS-${pkgver}"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python setup.py install --root="$pkgdir" --optimize=1
}
|