summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilippo Berto2021-02-03 20:09:05 +0100
committerFilippo Berto2021-02-03 20:09:18 +0100
commit409f77e9312cd1820a1bdfd558ca42c242ab334f (patch)
tree1eaf2ce29ee27150d343b129502596c215f0b270
parent0501422a3f4909793f00ddbb3baacfbd84db547a (diff)
downloadaur-409f77e9312cd1820a1bdfd558ca42c242ab334f.tar.gz
Bump version to 0.6.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD29
2 files changed, 18 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cbc137544b0..832aaf0a8f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ndn-nlsr
pkgdesc = Named Data Link State Routing Protocol
- pkgver = 0.5.2
- pkgrel = 4
+ pkgver = 0.6.0
+ pkgrel = 1
url = https://github.com/named-data/NLSR
arch = i686
arch = x86_64
@@ -16,8 +16,8 @@ pkgbase = ndn-nlsr
depends = ndn-chronosync
provides = ndn-nlsr
conflicts = ndn-nlsr
- source = https://github.com/named-data/NLSR/archive/NLSR-0.5.2.tar.gz
- sha256sums = 27d8672784c63f815ff519f807e94fbb66f1a8da3674fe907cea762f465d55de
+ source = https://github.com/named-data/NLSR/archive/NLSR-0.6.0.tar.gz
+ sha256sums = b63c0118fcf92c73f2d9b7f1d4deca73d263de7f3a14dce2770b1ec669d16152
pkgname = ndn-nlsr
diff --git a/PKGBUILD b/PKGBUILD
index b61332793a6..1da3d41a745 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_reponame=NLSR
_pkgname=ndn-nlsr
pkgname=$_pkgname
-pkgver=0.5.2
-pkgrel=4
+pkgver=0.6.0
+pkgrel=1
# epoch=
pkgdesc="Named Data Link State Routing Protocol"
arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ options=()
install=
source=(https://github.com/named-data/${_reponame}/archive/${_reponame}-${pkgver}.tar.gz)
noextract=()
-sha256sums=('27d8672784c63f815ff519f807e94fbb66f1a8da3674fe907cea762f465d55de')
+sha256sums=('b63c0118fcf92c73f2d9b7f1d4deca73d263de7f3a14dce2770b1ec669d16152')
validpgpkeys=()
prepare() {
@@ -30,28 +30,27 @@ prepare() {
# Patch missing includes
sed -i '26i#include <ostream>' src/statistics.hpp
-
./waf configure --prefix=/usr --with-tests
}
build() {
cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
./waf build
- ./waf docs
+ ./waf docs
}
-# Check disabled until upstream gets fixed
-#check() {
-# cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
-# ./waf install --destdir="${srcdir}/tests"
-# LD_LIBRARY_PATH="${srcdir}/tests/usr/lib" ./build/unit-tests-nlsr
-#}
+# # Check disabled until upstream gets fixed
+# check() {
+# cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
+# ./waf install --destdir="${srcdir}/tests"
+# LD_LIBRARY_PATH="${srcdir}/tests/usr/lib" ./build/unit-tests-nlsr
+# }
package() {
- install -dm 755 "${pkgdir}/usr/share/doc/$_pkgname"
+ install -dm 755 "${pkgdir}/usr/share/doc/$_pkgname"
cd "${srcdir}/${_reponame}-${_reponame}-${pkgver}"
- ./waf install --destdir="${pkgdir}"
- cp -r "${srcdir}/${_reponame}-${_reponame}-${pkgver}/build/docs/"* "${pkgdir}/usr/share/doc/$_pkgname"
- mv "${pkgdir}/usr/etc" "${pkgdir}/"
+ ./waf install --destdir="${pkgdir}"
+ cp -r "${srcdir}/${_reponame}-${_reponame}-${pkgver}/build/docs/"* "${pkgdir}/usr/share/doc/$_pkgname"
+ mv "${pkgdir}/usr/etc" "${pkgdir}/"
}