makedeb
A script that makes it easy to connect Network Manager to a VPN Gate
Viewing /PKGBUILD
.
Click here to go back to the Git tree for nm-vpngate.
# Maintaoner: Yamada Hayao <development@fascode.net>
_pkgname="nm-vpngate"
pkgname="${_pkgname}"
pkgver=87
pkgrel=4
pkgdesc="A script that makes it easy to connect Network Manager to a VPN Gate"
arch=('any')
url="https://github.com/Hayao0819/nm-vpngate"
license=('WTFPL')
depends=("bash" "network-manager" "curl" "network-manager-openvpn" "network-manager-strongswan" "zenity|kdialog" "network-manager-l2tp")
makedepends=('git')
source=("git+${url}.git")
md5sums=('SKIP')
#pkgver() {
# cd "${_pkgname}"
# (
# set -o pipefail
# git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# )
#}
package() {
postrm="in.install"
echo "
#!/bin/sh
systemctl daemon-reload
" > "${startdir}/in.install"
postinst="${postrm}"
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" install
}