summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGI_Jack2021-02-23 10:27:27 -0500
committerGI_Jack2021-02-23 10:27:27 -0500
commitc3d4243f361c14f6902e687424ddbdc33803b7ad (patch)
tree159c02ef5267a1c99b4fd567d3657b67800ab022
parent0fbe36bed017af6e0f5e48cf0c69d61db87cd2f0 (diff)
downloadaur-c3d4243f361c14f6902e687424ddbdc33803b7ad.tar.gz
removed install file, and now complies with arch package guildlines
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
-rw-r--r--guilded.install12
3 files changed, 6 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6da38780ec6..2d140db60d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo(replacement shim) v8
-# Sat Feb 20 05:43:09 PM EST 2021
+# Tue Feb 23 10:27:22 AM EST 2021
pkgbase = guilded
pkgdesc = Discord Chat App Knocoff(www.guilded.gg)
pkgver = 1.0.987209
- pkgrel = 1
+ pkgrel = 2
url = https://www.guilded.gg/
- install = guilded.install
arch = x86_64
license = custom
depends = gtk3
diff --git a/PKGBUILD b/PKGBUILD
index 0d28e0c520e..de98380264d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,13 @@
pkgname=guilded
pkgver=1.0.987209
-pkgrel=1
+pkgrel=2
pkgdesc="Discord Chat App Knocoff(www.guilded.gg)"
arch=('x86_64')
url="https://www.guilded.gg/"
license=('custom')
depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core'
'util-linux-libs' 'libappindicator-gtk3' 'libsecret')
-options=()
-install="${pkgname}.install"
-changelog=
source=("${pkgname}-${pkgver}.deb::https://www.guilded.gg/downloads/Guilded-Linux.deb")
sha256sums=('d98899b34ae09309bb4581147e496c2230f97b37e094946069ed96ba69a46d9a')
@@ -25,4 +22,7 @@ package() {
cd "${srcdir}"
cp -r usr "${pkgdir}"
cp -r opt "${pkgdir}"
+ # Link to the binary
+ install -dm755 "${pkgdir}/usr/bin/"
+ ln -sf "/opt/Guilded/guilded" "${pkgdir}/usr/bin/guilded"
}
diff --git a/guilded.install b/guilded.install
deleted file mode 100644
index 0fb3b7e2cc4..00000000000
--- a/guilded.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- # Link to the binary
- ln -sf '/opt/Guilded/guilded' '/usr/bin/guilded'
-
- update-mime-database /usr/share/mime || true
- update-desktop-database /usr/share/applications || true
-}
-
-post_remove() {
- # Delete the link to the binary
- rm -f '/usr/bin/guilded'
-}