Date: Thursday, January 24, 2019 @ 17:49:49 Author: ffy00 Revision: 427557
archrelease: copy trunk to community-x86_64 Added: urh/repos/community-x86_64/PKGBUILD (from rev 427556, urh/trunk/PKGBUILD) Deleted: urh/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-24 17:49:42 UTC (rev 427556) +++ PKGBUILD 2019-01-24 17:49:49 UTC (rev 427557) @@ -1,50 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> -# Contributor: Johannes Pohl <johannes.poh...@gmail.com> - -pkgname=urh -pkgver=2.5.3 -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=('47d262131224fb2d42b0f3894e299faffc1cfdb4543f22337480eb51677884d5e9191664a48b26a7c91ca5a9935b7e422dc02c1ced5d69848f52f8f58a14d7e5') - -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 427556, urh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-24 17:49:49 UTC (rev 427557) @@ -0,0 +1,50 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinuc.org> +# Contributor: Johannes Pohl <johannes.poh...@gmail.com> + +pkgname=urh +pkgver=2.5.5 +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=('73088f8606f3a1e554b784890f96b80bba467abecd8b6c788b440f98153c5fe913800ac1ac8c725d998e6197064b0e3298a62f6c9e46a6ddf1940102ef5bd475') + +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 +} +