[arch-commits] Commit in (cjdns cjdns/repos cjdns/trunk cjdns/trunk/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Jul 18 21:42:58 UTC 2015


    Date: Saturday, July 18, 2015 @ 23:42:57
  Author: anthraxx
Revision: 137104

addpkg cjdns 16.1-1

Added:
  cjdns/
  cjdns/repos/
  cjdns/trunk/
  cjdns/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Added: cjdns/trunk/PKGBUILD
===================================================================
--- cjdns/trunk/PKGBUILD	                        (rev 0)
+++ cjdns/trunk/PKGBUILD	2015-07-18 21:42:57 UTC (rev 137104)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: openfbt
+# Contributor: Werecat
+# Contributor: Xyne
+
+pkgname=cjdns
+pkgver=16.1
+pkgrel=1
+pkgdesc='A routing engine designed for security, scalability, speed and ease of use'
+url='https://github.com/cjdelisle/cjdns'
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+license=('GPL3')
+depends=('glibc' 'sh')
+makedepends=('nodejs' 'python2')
+optdepends=(
+  'cjdnsify: allows you to run some programs bound to your cjdns address'
+)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/cjdelisle/${pkgname}/archive/cjdns-v${pkgver}.tar.gz)
+sha512sums=('f9c2777c972dfc4fbed28c02434fbbb8ff5b740c5d5f7d9be353547c3a4e42f7b376e2ab0e68aa98d0234c4229b00b221ed0f6cdb7e3d33448fe1ea7e02d8af7')
+
+build() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  bash 'do'
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-v${pkgver}
+  install -Dm 755 cjdroute "${pkgdir}/usr/bin/cjdroute"
+  install -Dm 755 contrib/sh/run-cjdroute.sh "${pkgdir}/usr/bin/run-cjdroute"
+  install -Dm 644 contrib/systemd/${pkgname}.service "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+  install -Dm 644 doc/man/cjdroute.conf.5 "${pkgdir}/usr/share/man/man5/cjdroute.conf.5"
+  install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm 644 doc/admin-api.md doc/configure.md doc/djc_layer_model.md doc/nat-gateway.md doc/network-services.md \
+    doc/non-root-user.md doc/security_specification.md doc/shorewall_and_vpn_gateway_howto.md doc/tunnel.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list