Package Details: megit 0.6.0-1

Git Clone URL: https://aur.archlinux.org/megit.git (read-only, click to copy)
Package Base: megit
Description: A Git GUI repository manager based on EGit Eclipse plugin
Upstream URL: https://github.com/eclipsesource/megit
Keywords: eclipse egit git gui
Licenses: EPL2.0
Conflicts: megit
Provides: megit
Submitter: creatorx
Maintainer: BrunoJesus
Last Packager: BrunoJesus
Votes: 5
Popularity: 0.198349
First Submitted: 2021-11-11 00:06 (UTC)
Last Updated: 2024-02-21 22:47 (UTC)

Latest Comments

BrunoJesus commented on 2024-02-21 01:32 (UTC) (edited on 2024-02-21 01:32 (UTC) by BrunoJesus)

There's a version 0.6.0 already, at the time I'm writing this comment we have version 0.4.0 in AUR. Version 0.6.0 no longer depends on Java being installed on the system.

I'll leave the patch here, I don't know if there's a better way to do this...

diff --git a/PKGBUILD b/PKGBUILD
index 0a2ca85..1f64456 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,24 @@
 # Maintainer: creatorx <accelerate9 at gmail dot com>
 pkgname=megit
-pkgver=0.4.0
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="A Git GUI repository manager based on EGit Eclipse plugin"
 arch=('x86_64')
 url="https://github.com/eclipsesource/megit"
 license=('EPL2.0')
-depends=('java-runtime>=11')
 provides=('megit')
 conflicts=('megit')
 options=('!strip')
-source=("https://github.com/eclipsesource/megit/releases/download/v$pkgver/com.eclipsesource.megit-linux.gtk.x86_64.zip"
+source=("https://github.com/eclipsesource/megit/releases/download/v$pkgver/megit-$pkgver-linux.gtk.x86_64.tar.gz"
         "megit.desktop"
         "egit.png")
-sha256sums=('fbd052782da4bceed069a7a61146d942dfcc3481b33998c4fb1070f95a0ac243'
+sha256sums=('c1c646b31665dbe714418d7fbb7b7f8e17d6d7b92b124c9550b23f9dcdd0bdd6'
             '2bd9fb226f4085f9c1b5c8e4d7b64a23f651539947d4239f8a7e29ea599c58be'
             '9f9ff6c58c752e2115057fdd7a25f7a085128dc3f8b8c2ac95adeb6e8c421b75')

 package() {
     mkdir -p "$pkgdir/opt/$pkgname"
-    cp -a $srcdir/* "$pkgdir/opt/$pkgname"
-    rm -r "$pkgdir/opt/$pkgname/com.eclipsesource.megit-linux.gtk.x86_64.zip"
-    rm -r "$pkgdir/opt/$pkgname/megit.desktop"
+    cp -a $srcdir/MeGit/* "$pkgdir/opt/$pkgname"
     chmod -R 0755 "$pkgdir/opt/$pkgname"
     chmod +x "$pkgdir/opt/$pkgname/megit"
     install -Dm644 egit.png "$pkgdir/opt/$pkgname/egit.png"

creatorx commented on 2021-11-11 01:18 (UTC)

Here is a workaround for file system monitoring. It should help to avoid pressing F5 for update.