# Maintainer : Sebastian Lau # Contributor: Martin Wimpress # Contributor: Liganic # Contributor: Bernd Amend # Contributor: Holodoc pkgname=giteye pkgver=2.1.0 pkgrel=1 pkgdesc="CollabNet GitEye is a desktop for Git. It works with TeamForge, CloudForge and other Git services." arch=('x86_64') url="https://www.collab.net/products/giteye" license=('custom') depends=('git' 'java-environment>=8' 'python') makedepends=('unzip') options=('!strip') source=("LICENSE" "${pkgname}.desktop" "https://downloads-guests.open.collab.net/files/documents/61/18801/GitEye-${pkgver}-linux.x86_64.zip") md5sums=('78ba2a04c6b766a778681705d40abbb4' '8568d68fd910cde0befad2c7be52336e' '3734ec716b426095d09d1d131066d028') noextract=(*.zip) # extract nothing package() { cd "${srcdir}" msg2 "Extracting GitEye from archive..." install -Ddm755 "${pkgdir}/opt/${pkgname}/" install -Ddm755 "${pkgdir}/usr/bin/" unzip -q "GitEye-${pkgver}-linux.x86_64.zip" -d "${pkgdir}/opt/${pkgname}/" msg2 "Adding GitEye executable to default path..." ln -s "/opt/${pkgname}/GitEye" "${pkgdir}/usr/bin/" ln -s "/opt/${pkgname}/GitEye" "${pkgdir}/usr/bin/giteye" msg2 "Installing LICENSE..." install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" msg2 "Installing desktop file and icon..." install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" install -Dm644 "${pkgdir}/opt/${pkgname}/icon.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" }