blob: 00026818172755e471f6dfe78e2fd81e48a6a5ba (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Dario Ostuni <dario.ostuni@gmail.com>
pkgname=python-vulkan-git
pkgver=1.1.99.1.r8.gc858f33
pkgrel=1
pkgdesc="The ultimate Python binding for Vulkan API"
arch=(any)
url="https://github.com/realitix/vulkan"
license=(Apache)
depends=(python python-cffi vulkan-icd-loader)
makedepends=(git python-build python-wheel python-installer python-setuptools)
provides=(python-vulkan)
conflicts=(python-vulkan)
source=("python-vulkan::git+https://github.com/realitix/vulkan.git")
sha256sums=('SKIP')
pkgver() {
cd python-vulkan
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd python-vulkan
python -m build --wheel --no-isolation
}
package() {
cd python-vulkan
python -m installer --destdir="$pkgdir" dist/*.whl
}
|