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.

33 lines
786 B

  1. # Maintainer: stilgar <mnbvcxz@riseup.net>
  2. pkgname=libremtunnel-git
  3. pkgver=07a44b7
  4. pkgrel=1
  5. pkgdesc="A user-facing command-line client to manage Librem Tunnel"
  6. arch=("any")
  7. url="https://source.puri.sm/liberty/ldh_client"
  8. license=("AGPL-3.0-or-later")
  9. depends=('python-gobject' 'python-requests' 'networkmanager-openvpn')
  10. makedepends=('python' 'git')
  11. conflicts=('libremtunnel')
  12. provides=('ldh-client')
  13. source=("git+https://source.puri.sm/liberty/ldh_client.git")
  14. sha256sums=('SKIP')
  15. pkgver() {
  16. cd "$srcdir/ldh_client"
  17. git rev-parse --short HEAD
  18. }
  19. prepare() {
  20. cd "$srcdir/ldh_client/"
  21. sed -i 's#x86_64-linux-gnu/##g' scripts/nm_tunnel_setup.py
  22. }
  23. package() {
  24. cd "$srcdir/ldh_client"
  25. install -Dm755 scripts/nm_tunnel_setup.py ${pkgdir}/usr/bin/librem-tunnel
  26. }