Date: Tuesday, October 23, 2018 @ 18:42:38 Author: ffy00 Revision: 398711
archrelease: copy trunk to community-x86_64 Added: urh/repos/community-x86_64/PKGBUILD (from rev 398710, urh/trunk/PKGBUILD) Deleted: urh/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-23 18:42:33 UTC (rev 398710) +++ PKGBUILD 2018-10-23 18:42:38 UTC (rev 398711) @@ -1,50 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> -# Contributor: Johannes Pohl <johannes.poh...@gmail.com> - -pkgname=urh -pkgver=2.4.0 -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' 'python-pyzmq' 'cython') -makedepends=('gcc' 'python-setuptools' - 'airspy' 'hackrf' 'libuhd' 'limesuite' 'rtl-sdr') # Optional -checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'xorg-server-xvfb') -optdepends=('airspy: for native airspy backend' - 'cython: for recompiling native backends right from inside URH' - 'hackrf: for native hackrf backend' - 'libuhd: for native USRP backend' - 'limesuite: for native LimeSDR backend' - 'rtl-sdr: for native RTL-SDR backend' - 'rfcat-hg: for rfcat plugin' - 'gnuradio: for USRP gnuradio backend' - 'gnuradio-osmosdr: for more gnuradio device backends' - 'python-pyaudio: for soundcard support') -source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz") -sha512sums=('e4207e1f8c2ef532d4637ea40d68d980f5d6a404cc6f4b5d65be2fa02c36bdca89b5f7b9a120d7ca075b095c74dc62fa6f39337f767f86d8561a4e935a482797') - -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 398710, urh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-23 18:42:38 UTC (rev 398711) @@ -0,0 +1,50 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> +# Contributor: Johannes Pohl <johannes.poh...@gmail.com> + +pkgname=urh +pkgver=2.4.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' 'python-pyzmq' 'cython') +makedepends=('gcc' 'python-setuptools' + 'airspy' 'hackrf' 'libuhd' 'limesuite' 'rtl-sdr') # Optional +checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'xorg-server-xvfb') +optdepends=('airspy: for native airspy backend' + 'cython: for recompiling native backends right from inside URH' + 'hackrf: for native hackrf backend' + 'libuhd: for native USRP backend' + 'limesuite: for native LimeSDR backend' + 'rtl-sdr: for native RTL-SDR backend' + 'rfcat-hg: for rfcat plugin' + 'gnuradio: for USRP gnuradio backend' + 'gnuradio-osmosdr: for more gnuradio device backends' + 'python-pyaudio: for soundcard support') +source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz") +sha512sums=('54a530af822e2a700128ec435a3cfac42c2a82b685750fed8b96dce13f7ad70e28bb4f994919654657d6a9d5a91ba5921ebe3516a8e0aab4e748afac1622fb3a') + +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 +} +