[arch-commits] Commit in openfortivpn/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 15:42:50 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:42:50
  Author: felixonmars
Revision: 1142488

archrelease: copy trunk to community-staging-x86_64

Added:
  openfortivpn/repos/community-staging-x86_64/
  openfortivpn/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142487, openfortivpn/trunk/PKGBUILD)

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

Copied: openfortivpn/repos/community-staging-x86_64/PKGBUILD (from rev 1142487, openfortivpn/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:42:50 UTC (rev 1142488)
@@ -0,0 +1,49 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=openfortivpn
+pkgver=1.17.1
+pkgrel=2
+pkgdesc="An open implementation of Fortinet's proprietary PPP+SSL VPN solution"
+arch=(x86_64)
+url=https://github.com/adrienverge/openfortivpn
+license=(GPL3)
+depends=(
+  glibc
+  openssl
+  ppp
+  resolvconf
+  systemd-libs
+)
+makedepends=(
+  git
+  systemd
+)
+backup=(etc/openfortivpn/config)
+_tag=ec8bee242e2a4fb86a35b8a7a5909debea22d361
+source=(git+https://github.com/adrienverge/openfortivpn.git#tag=${_tag})
+sha256sums=(SKIP)
+
+prepare() {
+  cd openfortivpn
+  autoreconf -fiv
+}
+
+pkgver() {
+  cd openfortivpn
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd openfortivpn
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-resolvconf
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C openfortivpn install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list