Advertisement
Guest User

Untitled

a guest
Oct 5th, 2023
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 33d7204..f915144 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -2,7 +2,7 @@
  6. # Source: https://www.virtualhere.com/client_service
  7.  
  8. pkgname=virtualhere-client
  9. -pkgver=1.0.2
  10. +pkgver=5.5.5
  11. pkgrel=1
  12. pkgdesc="VirtualHere USB Client for Linux Desktop"
  13. arch=("i686" "x86_64")
  14. @@ -13,8 +13,13 @@ provides=("virtualhereclient")
  15. conflicts=("virtualhereclient")
  16. source=("https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhereclient.service"
  17. "https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64")
  18. -md5sums=('37d1c9ac1b1d9f4ecb99ea6f5b6af5dc'
  19. - '5d707c6f91f4cd72344ca9f7c69b1ed8')
  20. +md5sums=('SKIP'
  21. + 'SKIP')
  22. +
  23. +pkgver() {
  24. + chmod +x "${srcdir}/vhclientx86_64"
  25. + "${srcdir}/vhclientx86_64" --help 2>&1 | head -n 1| sed 's/.[^0-9]*\([0-9]\+[\.0-9]*\),.*/\1/'
  26. +}
  27.  
  28. package() {
  29. install -Dm755 vhclientx86_64 "${pkgdir}/usr/bin/vhclientx86_64"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement