summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastian Lau2019-01-18 13:41:05 +0100
committerSebastian Lau2019-01-18 13:41:05 +0100
commit3dcec7a9493992b6373708e8581e6b7c7b477c71 (patch)
treedb07f0cbb90790544831c7d953afa877c3e51ca9 /PKGBUILD
parentd61564e594453cfd992d14717fabe06fad2df39c (diff)
downloadaur-giteye.tar.gz
UPD to 2.2.0
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD40
1 files changed, 23 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b9e67760155..0ef8e5d51bf 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,47 @@
# Maintainer : Sebastian Lau <lauseb644 _at_ gmail .dot. com>
+# Contributor: yochananmarqos <yochanan.marqos@gmail.com>
# Contributor: Martin Wimpress <code@flexion.org>
# Contributor: Liganic <liganic-aur@gmx.org>
# Contributor: Bernd Amend <berndamend@web.de>
# Contributor: Holodoc <archlinux@bananapro.de>
pkgname=giteye
-pkgver=2.1.0
-pkgrel=5
+pkgver=2.2.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' 'jdk8-openjdk' 'python')
-makedepends=('unzip')
+depends=('git' 'java-runtime>=8' 'python')
options=('!strip')
-source=("LICENSE"
- "${pkgname}.desktop"
- "https://downloads-guests.open.collab.net/files/documents/61/18801/GitEye-${pkgver}-linux.x86_64.zip")
-md5sums=('78ba2a04c6b766a778681705d40abbb4'
- '0299696f06b199eb9b5735057f503fe9'
- '3734ec716b426095d09d1d131066d028')
+source=("https://www.collab.net/sites/default/files/downloads/GitEye-$pkgver-linux.x86_64.zip"
+ "LICENSE"
+ "${pkgname}.desktop")
+md5sums=('117d6e1e905aea0ec91ce18e155e87a1'
+ '78ba2a04c6b766a778681705d40abbb4'
+ '0299696f06b199eb9b5735057f503fe9')
noextract=(*.zip) # extract nothing
package() {
- cd "${srcdir}"
+ cd "$srcdir"
msg2 "Extracting GitEye from archive..."
- install -Ddm755 "${pkgdir}/opt/${pkgname}/"
- install -Ddm755 "${pkgdir}/usr/bin/"
+ install -Ddm755 "$pkgdir/opt/$pkgname/"
+ install -Ddm755 "$pkgdir/usr/bin/"
- unzip -q "GitEye-${pkgver}-linux.x86_64.zip" -d "${pkgdir}/opt/${pkgname}/"
+ bsdtar -xf "GitEye-$pkgver-linux.$CARCH.zip" -C "$pkgdir/opt/$pkgname/"
+
+ msg2 "Adding GitEye executable to default path..."
+ ln -s "/opt/${pkgname}/GitEye" "${pkgdir}/usr/bin/giteye"
msg2 "Installing LICENSE..."
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ if [[ "$CARCH" = "i686" ]]; then
+ sed -i 's/64-bit/32-bit/' LICENSE
+ fi
+ 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"
+ install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$pkgdir/opt/${pkgname}/icon.xpm" "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
}