Add openvpn-reconnect
This commit is contained in:
parent
31f6708c67
commit
3da5ef5829
2 changed files with 35 additions and 0 deletions
14
openvpn-reconnect/.SRCINFO
Normal file
14
openvpn-reconnect/.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = openvpn-reconnect
|
||||
pkgdesc = A systemd hook for reconnecting OpenVPN after suspend
|
||||
pkgver = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/crasm/openvpn-reconnect
|
||||
arch = any
|
||||
license = ISC
|
||||
depends = sh
|
||||
provides = openvpn-reconnect
|
||||
source = https://github.com/crasm/openvpn-reconnect/archive/v1.tar.gz
|
||||
md5sums = a51977e382d2f7e56103a0c7328eaa0c
|
||||
|
||||
pkgname = openvpn-reconnect
|
||||
|
21
openvpn-reconnect/PKGBUILD
Normal file
21
openvpn-reconnect/PKGBUILD
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Maintainer: crasm <crasm@aur.1.email.vczf.io>
|
||||
pkgname="openvpn-reconnect"
|
||||
pkgver="1"
|
||||
pkgrel="2"
|
||||
pkgdesc="A systemd hook for reconnecting OpenVPN after suspend"
|
||||
arch=("any")
|
||||
url="https://github.com/crasm/openvpn-reconnect"
|
||||
license=("ISC")
|
||||
depends=("sh")
|
||||
provides=("openvpn-reconnect")
|
||||
source=("https://github.com/crasm/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
md5sums=('a51977e382d2f7e56103a0c7328eaa0c')
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
install -m 644 -D "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -m 755 -D "${pkgname}" \
|
||||
"${pkgdir}/usr/bin/${pkgname}"
|
||||
install -m 755 -D "${pkgname}-systemd.sh" \
|
||||
"${pkgdir}/usr/lib/systemd/system-sleep/${pkgname}-systemd.sh"
|
||||
}
|
Loading…
Reference in a new issue