summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUxio Fuentefria2020-09-04 17:34:25 +0200
committerUxio Fuentefria2020-09-04 17:34:42 +0200
commited3c7b5fc571071404eea02e5e4bd5d948cadecd (patch)
tree3100d3ed1022ac5c31b14c2def74a3ced980ec8b
parentd52d2b93f5a170a0724b9efea926e6b6569104cd (diff)
downloadaur-ed3c7b5fc571071404eea02e5e4bd5d948cadecd.tar.gz
Fix application desktop name
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD2
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4c17e818a20
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*.deb
+*.zst
diff --git a/PKGBUILD b/PKGBUILD
index 5664a4536bd..e6e2f819c16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,6 +14,7 @@ sha256sums=('b14314f049d1332b199d4e34f805e627a6b0b834038acfc74eaf431f55013968')
prepare() {
cd "${srcdir}"
bsdtar -xf data.tar.xz
+ find . -name '*.desktop' -exec sed -i 's/Name=Safe Multisig/Name=Gnosis Safe Multisig/g' "{}" \;
}
package() {
install -d "${pkgdir}/usr/bin"
@@ -21,6 +22,7 @@ package() {
cp -r "${srcdir}/opt/Safe Multisig" "${pkgdir}/opt/${pkgname}"
cp -r "${srcdir}/usr/share/" "${pkgdir}/usr/share/"
+ mv "${pkgdir}/usr/share/applications/safe-react.desktop" "${pkgdir}/usr/share/applications/gnosis-safe-multisig.desktop"
# install -m644 "${srcdir}/${_pkgname}-url-handler.desktop" "${pkgdir}/usr/share/applications/${_pkgname}-url-handler.desktop"
ln -s /opt/${pkgname}/safe-react "${pkgdir}"/usr/bin/gnosis-safe-multisig
}