summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Blomstrand2018-10-26 17:51:16 +0200
committerMikael Blomstrand2018-10-26 17:52:16 +0200
commite4a54ae0c7c0a3cb89306340a8e69f138a2a8a3d (patch)
treec4a97b5850f2b568a26f5e44f6469fd8cbae206d
parentd7f5aa75f7aa3957912f2f8a8eed8cd50e9c44b8 (diff)
downloadaur-e4a54ae0c7c0a3cb89306340a8e69f138a2a8a3d.tar.gz
fix issue #5541, use /opt instead of /usr/share
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
-rw-r--r--gitextensions3
3 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0df6e3da17b..c612a188634 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,10 +14,14 @@ pkgbase = gitextensions
source = gitextensions.desktop
source = gitextensions.png
source = https://github.com/gitextensions/gitextensions/releases/download/v2.51.05/GitExtensions-2.51.05-Mono.zip
- md5sums = b01b1bf6d75b30f6763daa0498385e99
+ md5sums = 6db31c0a7f5516110370e2f83acb416d
md5sums = cd36dafb8e961f67701117f622240e9b
md5sums = bbd6381241e896200c8494981115dff6
md5sums = 1c40409a1b18c50022265ea6e24c220e
+ sha256sums = ab8af419e463c0baf12578aeca886dd59c7157f81134c0617680cf1a0def1042
+ sha256sums = dd2e7837bfeea6fdc447e21e5b90f3ba4d2441bf375dbb604ddd79375b9b4043
+ sha256sums = bbfb8b3983cf12272bbc2c9ea593bcb3b7c57a1e7b4701070ef5fbcdc25d311f
+ sha256sums = 7c1a40af62bf78f5c969a33319828a567600b64e643db8021bc5e64717b19958
pkgname = gitextensions
diff --git a/PKGBUILD b/PKGBUILD
index 6a120fcdb1f..013419747b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,18 +20,21 @@ source=('gitextensions'
'gitextensions.desktop'
'gitextensions.png'
"https://github.com/gitextensions/gitextensions/releases/download/v${pkgver}/GitExtensions-${pkgver}-Mono.zip")
-md5sums=('b01b1bf6d75b30f6763daa0498385e99'
+md5sums=('6db31c0a7f5516110370e2f83acb416d'
'cd36dafb8e961f67701117f622240e9b'
'bbd6381241e896200c8494981115dff6'
'1c40409a1b18c50022265ea6e24c220e')
-sha256sums=('c0a5243de26e92f806f98f8dd611f93732a7c63941267a5f6530019a1f19a075'
+sha256sums=('ab8af419e463c0baf12578aeca886dd59c7157f81134c0617680cf1a0def1042'
'dd2e7837bfeea6fdc447e21e5b90f3ba4d2441bf375dbb604ddd79375b9b4043'
'bbfb8b3983cf12272bbc2c9ea593bcb3b7c57a1e7b4701070ef5fbcdc25d311f'
'7c1a40af62bf78f5c969a33319828a567600b64e643db8021bc5e64717b19958')
package() {
- install -d "${pkgdir}/usr/share/"
- cp -r "${srcdir}/GitExtensions" "${pkgdir}/usr/share/"
+ install -d "${pkgdir}/opt/"
+ cp -r "${srcdir}/GitExtensions" "${pkgdir}/opt/"
+
+ # Fails to load (issue #5541)
+ rm "${pkgdir}/opt/GitExtensions/Plugins/Bitbucket.dll"
install -D -m755 "${srcdir}/gitextensions" "${pkgdir}/usr/bin/gitextensions"
install -D -m644 "${srcdir}/gitextensions.png" "${pkgdir}/usr/share/pixmaps/gitextensions.png"
diff --git a/gitextensions b/gitextensions
index c1176ff280e..e5385822e50 100644
--- a/gitextensions
+++ b/gitextensions
@@ -1,3 +1,2 @@
#!/bin/sh
-cd /usr/share/GitExtensions
-mono GitExtensions.exe
+exec mono /opt/GitExtensions/GitExtensions.exe