Date: Tuesday, January 5, 2021 @ 15:23:49 Author: ffy00 Revision: 809337
archrelease: copy trunk to community-x86_64 Added: urh/repos/community-x86_64/PKGBUILD (from rev 809336, urh/trunk/PKGBUILD) Deleted: urh/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-05 15:23:45 UTC (rev 809336) +++ PKGBUILD 2021-01-05 15:23:49 UTC (rev 809337) @@ -1,49 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> -# Contributor: Johannes Pohl <johannes.poh...@gmail.com> - -pkgname=urh -pkgver=2.9.0 -pkgrel=3 -pkgdesc='Universal Radio Hacker: investigate wireless protocols like a boss' -arch=('x86_64') -url='https://github.com/jopohl/urh' -license=('GPL3') -depends=('python' 'python-pyqt5' 'python-numpy' 'python-psutil' 'cython') -makedepends=('gcc' 'python-setuptools' 'airspy' 'hackrf' 'libuhd' 'limesuite' 'rtl-sdr' 'bladerf' 'libiio') -checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'xorg-server-xvfb') -optdepends=('airspy: Airspy backend' - 'cython: compiling native modules inside URH' - 'hackrf: HackRF backend' - 'libuhd: USRP backend' - 'limesuite: LimeSDR backend' - 'rtl-sdr: RTL-SDR backend' - 'gnuradio: GNURadio backend' - 'bladerf: BladeRF backend' - 'libiio: IIO backend (PlutoSDR)' - 'gnuradio-osmosdr: OsmoSDR backend, via GNURadio' - 'python-pyaudio: Soundcard backend') -source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz") -sha512sums=('f385b8c921d8439ba121d60a0c160608e7e0c82db03420aa363aac2074e09deafe9bee02ecac96c74f5dcefb9367e1080cfd265b461dc596fcc8e285ea9298ad') - -build() { - cd $pkgname-$pkgver - - python setup.py build build_ext - python src/urh/cythonext/build.py -} - -check() { - cd $pkgname-$pkgver - - xvfb-run pytest --boxed -} - -package() { - cd $pkgname-$pkgver - - python setup.py install --root="$pkgdir" -O1 --skip-build - - install -Dm644 ./data/urh.desktop "$pkgdir"/usr/share/applications/urh.desktop - install -Dm 644 data/icons/appicon.png "$pkgdir"/usr/share/pixmaps/urh.png - install -Dm 644 README.md "$pkgdir"/usr/share/doc/$pkgname/README -} Copied: urh/repos/community-x86_64/PKGBUILD (from rev 809336, urh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-05 15:23:49 UTC (rev 809337) @@ -0,0 +1,49 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> +# Contributor: Johannes Pohl <johannes.poh...@gmail.com> + +pkgname=urh +pkgver=2.9.1 +pkgrel=1 +pkgdesc='Universal Radio Hacker: investigate wireless protocols like a boss' +arch=('x86_64') +url='https://github.com/jopohl/urh' +license=('GPL3') +depends=('python' 'python-pyqt5' 'python-numpy' 'python-psutil' 'cython') +makedepends=('gcc' 'python-setuptools' 'airspy' 'hackrf' 'libuhd' 'limesuite' 'rtl-sdr' 'bladerf' 'libiio') +checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'xorg-server-xvfb') +optdepends=('airspy: Airspy backend' + 'cython: compiling native modules inside URH' + 'hackrf: HackRF backend' + 'libuhd: USRP backend' + 'limesuite: LimeSDR backend' + 'rtl-sdr: RTL-SDR backend' + 'gnuradio: GNURadio backend' + 'bladerf: BladeRF backend' + 'libiio: IIO backend (PlutoSDR)' + 'gnuradio-osmosdr: OsmoSDR backend, via GNURadio' + 'python-pyaudio: Soundcard backend') +source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz") +sha512sums=('e6982a665775c74673b2f409ba2ca42466312dd952ad0ba575405389c1a1274b03e6dde32338a6746d76b25c53018e2ec59f986687dcb18cf95b7087d631ee80') + +build() { + cd $pkgname-$pkgver + + python setup.py build build_ext + python src/urh/cythonext/build.py +} + +check() { + cd $pkgname-$pkgver + + xvfb-run pytest --boxed +} + +package() { + cd $pkgname-$pkgver + + python setup.py install --root="$pkgdir" -O1 --skip-build + + install -Dm644 ./data/urh.desktop "$pkgdir"/usr/share/applications/urh.desktop + install -Dm 644 data/icons/appicon.png "$pkgdir"/usr/share/pixmaps/urh.png + install -Dm 644 README.md "$pkgdir"/usr/share/doc/$pkgname/README +}