blob: 11899ce304f7d8fdaa3ad6893d2e47b53e89cc4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Markus Kitsinger (SwooshyCueb) <root@swooshalicio.us>
pkgname=ovpn-dco-dkms
pkgver=0.2.20240712
pkgrel=1
epoch=1
pkgdesc='Optional Data Channel Offload kernel module for OpenVPN 3'
arch=('any')
url='https://github.com/OpenVPN/ovpn-dco'
license=('GPL2')
depends=('dkms')
makedepends=('git')
provides=('ovpn-dco' 'ovpn-dco-dkms')
conflicts=('ovpn-dco' 'ovpn-dco-git' 'ovpn-dco-dkms-git')
source=("git+https://github.com/OpenVPN/ovpn-dco.git#tag=v${pkgver}"
dkms.conf.in)
b2sums=('SKIP'
'4c4d9ef50500f76766861dd7037974b71f3d7183897095e78d91db7ec6416e7d43e2a6bbb9f2625143845b5762f1ebc12b559b909944948d27deb26bb9c96226')
package() {
cd "${srcdir}"
install -dm755 "${pkgdir}/usr/src/ovpn-dco-${pkgver}"
cp -r "${srcdir}/ovpn-dco"/* "${pkgdir}/usr/src/ovpn-dco-${pkgver}"
sed -e "s/@PKGVER@/${pkgver}/" "${srcdir}/dkms.conf.in" > "${srcdir}/dkms.conf"
install -Tm644 "${srcdir}/dkms.conf" "${pkgdir}/usr/src/ovpn-dco-${pkgver}/dkms.conf"
}
|