summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUxio Fuentefria2020-09-04 18:01:45 +0200
committerUxio Fuentefria2020-09-04 18:01:58 +0200
commit04fab57ad493f60e8b724e6c7243127ed80400cf (patch)
tree936bb706c28453580b8d396e1a22d3c6d9b8289c
parented3c7b5fc571071404eea02e5e4bd5d948cadecd (diff)
downloadaur-04fab57ad493f60e8b724e6c7243127ed80400cf.tar.gz
Fix icon
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e6e2f819c16..d5e831aa898 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,9 @@ prepare() {
cd "${srcdir}"
bsdtar -xf data.tar.xz
find . -name '*.desktop' -exec sed -i 's/Name=Safe Multisig/Name=Gnosis Safe Multisig/g' "{}" \;
+ find . -name '*.desktop' -exec sed -i 's|/opt/Safe Multisig/safe-react|/usr/bin/gnosis-safe-multisig|g' "{}" \;
+ mkdir -p "${srcdir}/usr/share/icons/hicolor/256x256/apps/"
+ mv "${srcdir}/usr/share/icons/hicolor/0x0/apps/safe-react.png" "${srcdir}/usr/share/icons/hicolor/256x256/apps/safe-react.png"
}
package() {
install -d "${pkgdir}/usr/bin"
@@ -22,7 +25,6 @@ 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
}