summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilippo Berto2020-08-07 13:28:08 +0200
committerFilippo Berto2020-08-07 13:28:08 +0200
commita35f5c8473122f3f8c2bb90ad537aebee2b085a5 (patch)
treec83b2f2077e74f83a5ea5c8ab9b34fb152f1c7be
downloadaur-a35f5c8473122f3f8c2bb90ad537aebee2b085a5.tar.gz
Initial commit
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD43
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cd621d48ac8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = ndn-psync
+ pkgdesc = NFD is a network forwarder that implements and evolves together with the Named Data Networking (NDN) protocol
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/named-data/PSync
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = gcc
+ makedepends = python
+ makedepends = boost
+ makedepends = pkgconf
+ makedepends = sqlite
+ makedepends = openssl>=1.0.2
+ depends = ndn-cxx
+ depends = boost
+ optdepends = valgrind: memory analysis
+ optdepends = doxygen: build documentation
+ optdepends = python-sphinx: build documentation
+ provides = ndn-psync
+ conflicts = ndn-psync
+ source = https://github.com/named-data/PSync/archive/0.2.0.tar.gz
+ sha256sums = ab18f2f17df48bfc4b6baa064a826d8f1c3b1e464748a2106f47decd69183b02
+
+pkgname = ndn-psync
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f14c55a279c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Filippo Berto <berto.f@protonmail.com>
+_reponame=PSync
+_pkgname=ndn-psync
+pkgname=$_pkgname
+pkgver=0.2.0
+pkgrel=1
+# epoch=
+pkgdesc="NFD is a network forwarder that implements and evolves together with the Named Data Networking (NDN) protocol"
+arch=('i686' 'x86_64')
+url="https://github.com/named-data/${_reponame}"
+license=('GPL')
+groups=()
+depends=('ndn-cxx' 'boost')
+makedepends=('git' 'gcc' 'python' 'boost' 'pkgconf' 'sqlite' 'openssl>=1.0.2')
+checkdepends=()
+optdepends=('valgrind: memory analysis'
+ 'doxygen: build documentation'
+ 'python-sphinx: build documentation')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+replaces=()
+backup=()
+options=()
+install=
+source=(https://github.com/named-data/${_reponame}/archive/${pkgver}.tar.gz)
+noextract=()
+sha256sums=('ab18f2f17df48bfc4b6baa064a826d8f1c3b1e464748a2106f47decd69183b02')
+validpgpkeys=()
+
+prepare() {
+ cd "${srcdir}/${_reponame}-${pkgver}"
+ ./waf configure --prefix=/usr
+}
+
+build() {
+ cd "${srcdir}/${_reponame}-${pkgver}"
+ ./waf build
+}
+
+package() {
+ cd "${srcdir}/${_reponame}-${pkgver}"
+ ./waf install --destdir="${pkgdir}"
+}