summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author0xjac2021-10-30 02:45:34 +0200
committer0xjac2021-10-30 02:45:34 +0200
commitec8c761c8e578445ad0a8133753cac9d26d1214c (patch)
treed3fa3fc8ddce43be327ae92a2ad4756d5ed80105
parentbb6b243841e47b20f4863e9a34b10b4119a0216e (diff)
downloadaur-ec8c761c8e578445ad0a8133753cac9d26d1214c.tar.gz
relpkg: v0.11.1-2
cleaner icon install
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a073e146e08..5c199084095d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = alephium-wallet-bin
pkgdesc = The official Alephium desktop wallet.
pkgver = 0.11.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/alephium/alephium-wallet
arch = x86_64
license = LGPL3
diff --git a/PKGBUILD b/PKGBUILD
index 2f13e89175ea..9b4709679914 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=alephium-wallet-bin
pkgdesc="The official Alephium desktop wallet."
pkgver=0.11.1
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="https://github.com/alephium/alephium-wallet"
license=('LGPL3')
@@ -15,8 +15,8 @@ sha256sums_x86_64=('2ffa3a3a5a7a7e6fc61f3a268176f4cc7bb0699480156ad40a16bd306d07
package() {
tar -xf data.tar.xz -C "$pkgdir"
- # Move the icon to the right directory.
- mkdir -p "$pkgdir/usr/share/icons/hicolor/512x512/apps/"
- mv "$pkgdir/usr/share/icons/hicolor/0x0/apps/alephium.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/alephium.png"
+ # Fix the icon installation path
+ install -Dm644 "$pkgdir/usr/share/icons/hicolor/0x0/apps/${pkgname%-wallet-bin}.png" \
+ -t "$pkgdir/usr/share/icons/hicolor/512x512/apps"
rm -r "$pkgdir/usr/share/icons/hicolor/0x0"
}