Guest User

Untitled

a guest
Feb 7th, 2019
402
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Christian Hesse <mail@eworm.de>
  2. # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> ([community] package)
  3.  
  4. pkgname=remmina-git
  5. pkgver=1.3.2.r10.geee0537d7
  6. pkgrel=1
  7. pkgdesc='A remote desktop client written in GTK+ - git checkout'
  8. arch=(i686 x86_64)
  9. url='http://www.remmina.org/'
  10. license=('GPL')
  11. depends=('gtk2' 'zlib' 'libjpeg' 'libssh' 'libunique' 'avahi' 'vte3'
  12. 'libgcrypt' 'libxdmcp' 'libgnome-keyring' 'libvncserver'
  13. 'libsecret' 'webkit2gtk' 'libappindicator-gtk3')
  14. makedepends=('git' 'intltool' 'pkgconfig' 'cmake'
  15. 'avahi' 'libxkbfile' 'freerdp-git' 'telepathy-glib')
  16. optdepends=('avahi' 'libxkbfile' 'freerdp-git' 'telepathy-glib')
  17. replaces=('remmina-plugins')
  18. provides=('remmina' 'grdc' "grdc=${pkgver}" 'remmina-plugins')
  19. conflicts=('remmina' 'grdc')
  20. install=remmina.install
  21. source=('remmina::git://github.com/FreeRDP/Remmina.git')
  22. sha256sums=('SKIP')
  23.  
  24. pkgver() {
  25. cd remmina/
  26.  
  27. if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
  28. printf '%s.r%s.g%s' \
  29. "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
  30. "$(git rev-list --count ${GITTAG}..)" \
  31. "$(git rev-parse --short HEAD)"
  32. else
  33. printf '0.r%s.g%s' \
  34. "$(git rev-list --count master)" \
  35. "$(git rev-parse --short HEAD)"
  36. fi
  37. }
  38.  
  39. build() {
  40. cd remmina/
  41.  
  42. cmake \
  43. -DCMAKE_INSTALL_PREFIX=/usr \
  44. -DCMAKE_INSTALL_LIBDIR=lib \
  45. -DWITH_APPINDICATOR=ON .
  46. make
  47. }
  48.  
  49. package() {
  50. cd remmina/
  51.  
  52. make DESTDIR="${pkgdir}/" install
  53. }
RAW Paste Data