blob: 1721b4307f18a4d9b1d8713139d53ee03951a95a (
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
|
# Maintainer: Siddhesh Dharme <siddheshdharme18@gmail.com>
_pkgname=sstv
pkgname="$_pkgname-git"
pkgver=r48.3e556ee
pkgrel=1
pkgdesc='SSTV audio file decoder'
arch=(any)
url='https://github.com/colaclanth/sstv'
license=('GPL-3.0-or-later')
depends=(
'python'
'python-numpy'
'python-pillow'
'python-soundfile'
'python-scipy'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
)
source=("git+https://github.com/colaclanth/$_pkgname")
b2sums=('SKIP')
prepare() {
git -C "$srcdir/$_pkgname" clean -dfx
}
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|