Date: Tuesday, November 1, 2022 @ 22:51:33
  Author: felixonmars
Revision: 1340577

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: openfortivpn/repos/community-staging-x86_64/PKGBUILD (from rev 1340575, 
openfortivpn/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-01 22:51:33 UTC (rev 1340577)
@@ -0,0 +1,49 @@
+# Maintainer: BartÅ‚omiej Piotrowski <[email protected]>
+
+pkgname=openfortivpn
+pkgver=1.19.0
+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=68abc47c88a09ea7a30807b1fb004345da8de665
+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:

Reply via email to