summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd824423c6275354bcc8aadabb1f09951b7c3a82 (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
25
26
27
28
29
# Maintainer: Pranav Jerry <libreinator at disroot dot org>
_basename=pybatmesh
pkgname="$_basename"
pkgver=0.5.3
pkgrel=1
pkgdesc="Python script to create a batman-adv mesh network"
arch=("any")
url="https://git.disroot.org/pranav/${_basename}"
license=("GPL3")
depends=("iwd" "python-dasbus" "systemd>=248" "python-systemd")
optdepends=("batctl: for debugging")
makedepends=("git" "python-setuptools")
replaces=(naxalnet)
provides=($_basename)
conflicts=(naxalnet naxalnet-git $_basename-git)
source=("git+${url}.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
	cd "$srcdir/$_basename"
	make
	return $?
}

package() {
	cd "$srcdir/$_basename"
	make DESTDIR="$pkgdir" install
	return $?
}