blob: afc22625f890f74305806c9f0cb7fc4119b03dc7 (
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
|
# Maintainer: SteamedFish <steamedfish@hotmail.com>
# Contributor: Erik Bročko (OM2LT) <erik@brocko.eu>
pkgname=python-csdr-luarvique
pkgver=0.18.26
pkgrel=1
pkgdesc="Python bindings for the csdr library."
arch=('x86_64' 'aarch64')
url="https://github.com/luarvique/pycsdr"
license=('GPL3')
depends=('python' 'gcc-libs' 'csdr')
makedepends=('git' 'python-setuptools')
conflicts=('python-csdr')
provides=('python-csdr')
source=("$pkgname"::"git+https://github.com/luarvique/pycsdr#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
python setup.py build -b ../build -t ../build-tmp
}
package() {
cd "$srcdir/$pkgname"
# Sadly, setuptools still don't support separate build directory: https://github.com/pypa/setuptools/issues/1347
python setup.py build -b ../build -t ../build-tmp install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
}
|