Guest User

bartus

a guest
May 13th, 2019
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 21a5997..88bcdfc 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -10,6 +10,7 @@ url="http://pascal.peter.free.fr/$_pkgname.html"
  6. license=('GPL')
  7. arch=('any')
  8. depends=(python-pyqt5 qt5-webkit)
  9. +makedepends=('git')
  10. conflicts=($_pkgname)
  11. replaces=($_pkgname)
  12. source=(
  13. @@ -22,7 +23,7 @@ pkgver() {
  14. cd "$_pkgname"
  15. (
  16. set -o pipefail
  17. - git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
  18. + git describe --long --tag 2>/dev/null | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
  19. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  20. )
  21. }
RAW Paste Data