diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 7 deletions
@@ -1,13 +1,13 @@ pkgbase = libbtbb pkgdesc = Bluetooth baseband decoding library pkgver = 2020.12.R1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/greatscottgadgets/libbtbb arch = x86_64 arch = i686 license = GPL2 makedepends = cmake - depends = python2 + depends = python source = https://github.com/greatscottgadgets/libbtbb/archive/2020-12-R1.tar.gz sha256sums = 9478bb51a38222921b5b1d7accce86acd98ed37dbccb068b38d60efa64c5231f @@ -1,13 +1,13 @@ pkgname=libbtbb pkgver=2020.12.R1 _pkgver=2020-12-R1 -pkgrel=1 +pkgrel=2 pkgdesc='Bluetooth baseband decoding library' url='https://github.com/greatscottgadgets/libbtbb' arch=('x86_64' 'i686') license=('GPL2') makedepends=(cmake) -depends=('python2') +depends=('python') source=("https://github.com/greatscottgadgets/libbtbb/archive/${_pkgver}.tar.gz") sha256sums=('9478bb51a38222921b5b1d7accce86acd98ed37dbccb068b38d60efa64c5231f') @@ -19,8 +19,7 @@ build() { cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr -DENABLE_PYTHON=FALSE .. make cd ../python/pcaptools - sed -i -r -e "s/python/python2/" btaptap - python2 setup.py build + python setup.py build } package() { @@ -29,5 +28,5 @@ package() { cd ../python/pcaptools mkdir -p ${pkgdir}/usr/bin cp btaptap ${pkgdir}/usr/bin/ - python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build } |