summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDoug Penner2021-01-17 20:01:44 -0800
committerDoug Penner2021-01-17 20:01:44 -0800
commitb92743c369607b6203402ee7080cf70283eb81c1 (patch)
treef68e246c2e79ecdb58b6ca97fc7faabf736f6170 /PKGBUILD
parent94bd625061e302e34a77105a256451f0d2fe14e5 (diff)
downloadaur-libbtbb.tar.gz
Removed references to python2
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
}