SHARE
TWEET

GitEye-2.0.0 PKGBUILD

a guest Feb 3rd, 2017 132 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer : Sebastian Lau <lauseb644 _at_ gmail .dot. com>
  2. # Contributor: Martin Wimpress <code@flexion.org>
  3. # Contributor: Liganic <liganic-aur@gmx.org>
  4. # Contributor: Bernd Amend <berndamend@web.de>
  5. # Contributor: Holodoc <archlinux@bananapro.de>
  6.  
  7. pkgname=giteye
  8. pkgver=2.0.0
  9. pkgrel=1
  10. pkgdesc="A desktop for Git. It works with TeamForge, CloudForge, GitHub and other Git services."
  11. arch=('i686' 'x86_64')
  12. url="http://www.collab.net/giteyeapp"
  13. license=('custom')
  14. depends=('git' 'java-environment' 'python')
  15. makedepends=('unzip')
  16. options=('!strip')
  17. source=("LICENSE"
  18.         "${pkgname}.desktop")
  19. md5sums=('29a5e78a36cabce86274d07ea11dd502'
  20.          '3144b18d4ddf6ac166afe374872ce4b4')
  21. md5sums_i686=('3755b166120d4512cd25afaf931fa15d')
  22. md5sums_x86_64=('ca6b969ca89d40f6f1cf154c7dbc76e6')
  23.  
  24. source_x86_64=("https://downloads-guests.open.collab.net/files/documents/61/13437/GitEye-${pkgver}-linux.x86_64.zip")
  25. source_i686=("https://downloads-guests.open.collab.net/files/documents/61/13436/GitEye-${pkgver}-linux.x86.zip")
  26.  
  27. noextract=(*.zip) # extract nothing
  28.  
  29. package() {
  30.     cd "${srcdir}"
  31.  
  32.     msg2 "Extracting GitEye from archive..."
  33.     install -Ddm755 "${pkgdir}/opt/${pkgname}/"
  34.     install -Ddm755 "${pkgdir}/usr/bin/"
  35.  
  36.     if [[ "$CARCH" = "i686" ]]; then
  37.         unzip -q "GitEye-${pkgver}-linux.x86.zip" -d "${pkgdir}/opt/${pkgname}/"
  38.     else
  39.         unzip -q "GitEye-${pkgver}-linux.x86_64.zip" -d "${pkgdir}/opt/${pkgname}/"
  40.     fi
  41.  
  42.     msg2 "Linking executable..."
  43.     ln -s "/opt/${pkgname}/GitEye" "${pkgdir}/usr/bin/"
  44.  
  45.     msg2 "Installing LICENSE..."
  46.     if [[ "$CARCH" = "i686" ]]; then
  47.     sed -i 's/64-bit/32-bit/' LICENSE
  48.     fi
  49.     install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  50.  
  51.     msg2 "Installing desktop file..."
  52.     install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  53.     install -Dm644 "${pkgdir}/opt/${pkgname}/icon.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm"
  54. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top