diff options
author | GI_Jack | 2021-02-23 10:27:27 -0500 |
---|---|---|
committer | GI_Jack | 2021-02-23 10:27:27 -0500 |
commit | c3d4243f361c14f6902e687424ddbdc33803b7ad (patch) | |
tree | 159c02ef5267a1c99b4fd567d3657b67800ab022 | |
parent | 0fbe36bed017af6e0f5e48cf0c69d61db87cd2f0 (diff) | |
download | aur-c3d4243f361c14f6902e687424ddbdc33803b7ad.tar.gz |
removed install file, and now complies with arch package guildlines
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | guilded.install | 12 |
3 files changed, 6 insertions, 19 deletions
@@ -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 @@ -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 0fb3b7e2cc46..000000000000 --- 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' -} |