summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ecc5b08c020fd52ab408879d60027629304487a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pkgname=kismet-plugin-ubertooth
pkgver=2018.08.R1
pkgrel=1
pkgdesc="Ubertooth plugin for Kismet"
url="http://sourceforge.net/projects/ubertooth/"
arch=('x86_64' 'i686')
license=('GPL')
depends=('ubertooth' 'kismet')
source=("https://github.com/greatscottgadgets/ubertooth/releases/download/2018-08-R1/ubertooth-2018-08-R1.tar.xz"
        "https://www.kismetwireless.net/code/kismet-2016-07-R1.tar.xz")
md5sums=('41a5c192c1f0b5df0516f4abd08ac995'
         '7fa6e86c5078a0e7d91fc9bf954c5107')

build() {
  cd "${srcdir}/kismet-2016-07-R1"
  ./configure prefix="${pkgdir}/usr"
  cd "${srcdir}/ubertooth-2018-08-R1/host/kismet/plugin-ubertooth"
  KIS_SRC_DIR="${srcdir}/kismet-2016-07-R1" UBERTOOTH_INC_DIR="${srcdir}/ubertooth-2018-08-R1/host/libubertooth/src" make
}

package() {
  cd "${srcdir}/ubertooth-2018-08-R1/host/kismet/plugin-ubertooth"
  KIS_SRC_DIR="${srcdir}/kismet-2016-07-R1" UBERTOOTH_INC_DIR="${srcdir}/ubertooth-2018-08-R1/host/libubertooth/src" make install
}