summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42ad790c9369809a410b4f8cda7f57633f2fa4c9 (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
# Maintainer: James Zhu <james.zhu.engineer@gmail.com>
# Maintainer: Nathan Owens <ndowens @ artixlinux.org>

pkgname=python-pyrtlsdr
pkgver=0.2.92
pkgrel=1
pkgdesc="Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)"
arch=(any)
url="http://pypi.org/project/pyrtlsdr"
license=('GPL3')
makedepends=('python-setuptools'
	     'python-pypandoc'
	     'git')
depends=('python-sphinx'
	 'python-sphinx_rtd_theme'
	 'm2r')
options=(!emptydirs)
source=("git+https://github.com/roger-/pyrtlsdr#tag=v$pkgver")
sha256sums=('SKIP')

package() {
  cd "$srcdir/pyrtlsdr"
  python setup.py install --root="$pkgdir/" --optimize=1
}