summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6290b8f9728..7198d47382f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}