A PKGBUILD file for Librem Tunnel in AUR
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

32 lines
786 B

# Maintainer: stilgar <mnbvcxz@riseup.net>
pkgname=libremtunnel-git
pkgver=07a44b7
pkgrel=1
pkgdesc="A user-facing command-line client to manage Librem Tunnel"
arch=("any")
url="https://source.puri.sm/liberty/ldh_client"
license=("AGPL-3.0-or-later")
depends=('python-gobject' 'python-requests' 'networkmanager-openvpn')
makedepends=('python' 'git')
conflicts=('libremtunnel')
provides=('ldh-client')
source=("git+https://source.puri.sm/liberty/ldh_client.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/ldh_client"
git rev-parse --short HEAD
}
prepare() {
cd "$srcdir/ldh_client/"
sed -i 's#x86_64-linux-gnu/##g' scripts/nm_tunnel_setup.py
}
package() {
cd "$srcdir/ldh_client"
install -Dm755 scripts/nm_tunnel_setup.py ${pkgdir}/usr/bin/librem-tunnel
}