upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-simplesoapy / trunk / PKGBUILD
blobd5744eb36608b93f0ff6be12196f17110e0453a5
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
2 # Contributor: Michal Krenek (Mikos) <m.krenek@gmail.com>
4 _pkgname=simplesoapy
5 pkgname=python-$_pkgname
6 pkgver=1.5.1
7 pkgrel=10
8 pkgdesc='Simple pythonic wrapper for SoapySDR library'
9 arch=('any')
10 url='https://github.com/xmikos/simplesoapy'
11 license=('MIT')
12 depends=('python' 'python-numpy' 'soapysdr')
13 makedepends=('python-setuptools')
14 replaces=('simplesoapy')
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplesoapy/archive/v$pkgver.tar.gz")
16 sha256sums=('4006fb23997693266fbeee0b92d7461c3801c677a6dd2931a9539f34f37aa5b2')
18 build() {
19   cd $_pkgname-$pkgver
21   python setup.py build
24 package() {
25   cd $_pkgname-$pkgver
27   python setup.py install --root="$pkgdir"
29   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE