blob: 2fa2ea70da07394b6569339e43faf1071b20d504 (
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
|
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=python-pipewire-git
_pkgname="${pkgname%-git}"
pkgver=r147.147cb93
pkgrel=1
pkgdesc="Python controller, player and recorder via pipewire's commands"
arch=('any')
url="https://github.com/pablodz/pipewire_python"
license=('MIT')
groups=()
depends=('python')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-flit-core')
provides=("$_pkgname")
conflicts=("$_pkgname")
replaces=()
backup=()
options=()
install=
source=("$_pkgname::git+$url")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|