summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c4f526451f0c7473df57cf987f1a3d9d787d56b (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
37
38
39
40
41
42
43
# Maintainer: Filippo Berto <berto.f@protonmail.com>
_reponame=ndn-tools
_pkgname=ndn-tools
pkgname=ndn-tools
pkgver=0.7.1
pkgrel=2
# epoch=
pkgdesc="A collection of basic tools for Named Data Networking"
arch=('i686' 'x86_64')
url="https://github.com/named-data/${_reponame}"
license=('GPL')
groups=()
depends=('ndn-cxx' 'boost' 'libpcap')
makedepends=('git' 'python')
checkdepends=()
optdepends=()
provides=("${pkgname}")
conflicts=("${pkgname}")
replaces=()
backup=()
options=()
install=
source=("${url}/archive/${_reponame}-${pkgver}.tar.gz")
noextract=()
sha256sums=('75fa841e86da3d4bb8dc8c700d1d42ea229f6f7f4e08ee9a209e5019760d32c4')
validpgpkeys=()

prepare() {
	cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
	./waf configure --prefix=/usr
}

build() {
	cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
	./waf build
}

package() {
	cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
	./waf install --destdir="${pkgdir}"
#  mkdir -p "${pkgdir}/usr/share/man"
#  mv "${pkgdir}/usr/local/share/man" "${pkgdir}/usr/share/"
}