summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDct Mei2020-03-21 16:32:00 +0800
committerDct Mei2020-03-21 16:32:00 +0800
commit734064066edc62ae0fbccae2e0f61f2068a7b354 (patch)
tree74d8c0907fa1c9971ea245b65b7ee6a5acfa99fa
parent374253722b25df5594b358db2339d152d7153e28 (diff)
downloadaur-734064066edc62ae0fbccae2e0f61f2068a7b354.tar.gz
Fix installation path
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
-rw-r--r--gephgui.desktop2
3 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a433547fcd16..81e25bcedc5a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gephgui-git
pkgdesc = Geph connects you with the censorship-free Internet, even when nothing else works
pkgver = r61.1b47287
- pkgrel = 1
+ pkgrel = 1.1
url = https://github.com/geph-official/gephgui
arch = x86_64
license = custom
@@ -14,7 +14,7 @@ pkgbase = gephgui-git
source = git+https://github.com/geph-official/gephgui.git
source = gephgui.desktop
sha512sums = SKIP
- sha512sums = 94e30f293a7c7ac232bdcfb9549bab8d4aeacd91a48e249b37a996b3876776760650ff3fe7684029d544dd6806f32e72476bfca2cb9ec91d2bea7cd24bc162d0
+ sha512sums = 0f57047902f09168200e3e1366f5350e0be5d1d07843d8b6b887758a8c0b058a90cc022bfd0bd1855fff2ab02264b034b7ac57f9a6163bbb458bd363eb44e8e0
pkgname = gephgui-git
diff --git a/PKGBUILD b/PKGBUILD
index e822f5330da8..f12143ad5256 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gephgui-git
_pkgname=gephgui
pkgver=r61.1b47287
-pkgrel=1
+pkgrel=1.1
pkgdesc="Geph connects you with the censorship-free Internet, even when nothing else works"
arch=('x86_64')
url="https://github.com/geph-official/gephgui"
@@ -15,7 +15,7 @@ conflicts=("$_pkgname")
source=("git+https://github.com/geph-official/gephgui.git"
"$_pkgname.desktop")
sha512sums=('SKIP'
- '94e30f293a7c7ac232bdcfb9549bab8d4aeacd91a48e249b37a996b3876776760650ff3fe7684029d544dd6806f32e72476bfca2cb9ec91d2bea7cd24bc162d0')
+ '0f57047902f09168200e3e1366f5350e0be5d1d07843d8b6b887758a8c0b058a90cc022bfd0bd1855fff2ab02264b034b7ac57f9a6163bbb458bd363eb44e8e0')
pkgver() {
cd "$_pkgname"
@@ -30,11 +30,11 @@ build() {
package() {
cd "$_pkgname"
- install -Dm 644 "icons/512x512.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png"
+ install -Dm 644 icons/512x512.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png"
install -Dm 644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
- install -d "$pkgdir/opt"
- cp -r "dist/linux-unpacked" "$pkgdir/opt/$_pkgname"
- ln -s "/usr/bin/geph-client" "$pkgdir/opt/$_pkgname/resources/app/binaries/linux-x64/geph-client"
+ install -d "$pkgdir/usr/lib"
+ cp -r dist/linux-unpacked "$pkgdir/usr/lib/$_pkgname"
+ ln -s /usr/bin/geph-client "$pkgdir/usr/lib/$_pkgname/resources/app/binaries/linux-x64/geph-client"
install -d "$pkgdir/usr/bin"
- ln -s "/opt/$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+ ln -s "/usr/lib/$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}
diff --git a/gephgui.desktop b/gephgui.desktop
index dc09344af978..734362b0695b 100644
--- a/gephgui.desktop
+++ b/gephgui.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=Geph GUI
-Exec=/usr/bin/gephgui --no-sandbox
+Exec=/usr/bin/gephgui
Icon=gephgui
Categories=Network;
Comment=Geph connects you with the censorship-free Internet, even when nothing else works