summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54f46d8b430a87e14e99075250b3ee61e6d26dfe (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
30
31
32
33
34
35
36
# Maintainer: Filippo Berto <berto.f@protonmail.com>
_reponame=mini-ndn
_pkgname=mini-ndn
pkgname=${_pkgname}
pkgver=0.4.0
pkgrel=1
# epoch=
pkgdesc="Lightweight networking emulation tool that enables testing, experimentation, and research on the NDN platform based on Mininet"
arch=('i686' 'x86_64')
url="https://github.com/named-data/${_reponame}"
license=('GPL')
groups=()
depends=('boost')
makedepends=('boost' 'ndn-cxx' 'ndn-nfd' 'ndn-chronosync' 'ndn-tools' 'ndn-nlsr' 'ndn-infoedit' 'mininet-git' 'termshark' 'python-igraph' 'python-setuptools' 'python-pyndn')
checkdepends=()
optdepends=()
provides=("${pkgname}")
conflicts=("${pkgname}")
replaces=()
backup=()
options=()
install=
source=(https://github.com/named-data/${_reponame}/archive/v${pkgver}.tar.gz)
noextract=()
sha256sums=('a6abcbe022b12c540584164ab68aa69192d4e15996861df1e16fda30884f60ce')
validpgpkeys=()

build() {
  cd "${srcdir}/${_reponame}-${pkgver}"
	python3 setup.py build
}

package() {
	cd "${srcdir}/${_reponame}-${pkgver}"
	python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}