summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilippo Berto2020-08-08 12:56:03 +0200
committerFilippo Berto2020-08-08 12:56:03 +0200
commitccb3b663c91fc059b3f5d671d612b08da9889b7d (patch)
tree7fc2eed2d4b25d02275681d19c71856dd9b4ab53
parent66ef4fc8e06ce745d039224a2ab2496219559ad4 (diff)
downloadaur-ccb3b663c91fc059b3f5d671d612b08da9889b7d.tar.gz
Cleanup + docs
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 17 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3bb51c16e60..7639d313f75 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,17 @@
pkgbase = ndn-psync
- pkgdesc = NFD is a network forwarder that implements and evolves together with the Named Data Networking (NDN) protocol
+ pkgdesc = Library implementing Named Data Networking (NDN) primitives that can be used to write various NDN applications
pkgver = 0.2.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/named-data/PSync
arch = i686
arch = x86_64
license = GPL
makedepends = git
makedepends = python
- makedepends = boost
- makedepends = sqlite
- makedepends = openssl>=1.0.2
- depends = ndn-cxx
+ makedepends = doxygen
+ makedepends = python-sphinx
depends = boost
- optdepends = valgrind: memory analysis
- optdepends = doxygen: build documentation
- optdepends = python-sphinx: build documentation
+ depends = ndn-cxx
provides = ndn-psync
conflicts = ndn-psync
source = https://github.com/named-data/PSync/archive/0.2.0.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 29bd12ac412..a3438e128bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,17 @@ _reponame=PSync
_pkgname=ndn-psync
pkgname=$_pkgname
pkgver=0.2.0
-pkgrel=2
+pkgrel=3
# epoch=
-pkgdesc="NFD is a network forwarder that implements and evolves together with the Named Data Networking (NDN) protocol"
+pkgdesc="Library implementing Named Data Networking (NDN) primitives that can be used to write various NDN applications"
arch=('i686' 'x86_64')
url="https://github.com/named-data/${_reponame}"
license=('GPL')
groups=()
-depends=('ndn-cxx' 'boost')
-makedepends=('git' 'python' 'boost' 'sqlite' 'openssl>=1.0.2')
+depends=('boost' 'ndn-cxx')
+makedepends=('git' 'python' 'doxygen' 'python-sphinx')
checkdepends=()
-optdepends=('valgrind: memory analysis'
- 'doxygen: build documentation'
- 'python-sphinx: build documentation')
+optdepends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
replaces=()
@@ -35,9 +33,14 @@ prepare() {
build() {
cd "${srcdir}/${_reponame}-${pkgver}"
./waf build
+ ./waf docs
}
package() {
- cd "${srcdir}/${_reponame}-${pkgver}"
- ./waf install --destdir="${pkgdir}"
+ install -dm 755 "${pkgdir}/usr/share/doc/ndn-psync"
+
+ cd "${srcdir}/${_reponame}-${pkgver}"
+ ./waf install --destdir="${pkgdir}"
+ cp -r "${srcdir}/${_reponame}-${pkgver}/build/docs/"* "${pkgdir}/usr/share/doc/ndn-psync"
}
+