diff options
author | 1F616EMO | 2024-12-21 17:18:23 +0800 |
---|---|---|
committer | 1F616EMO | 2024-12-21 17:18:23 +0800 |
commit | ec704c382f474f787f6e3102eb3d2601fad471d7 (patch) | |
tree | fe66b47ec03fd97683a0686fca550576628fc132 | |
parent | 2888434db33451b84b3d1c650d4b69a8d75dee9b (diff) | |
download | aur-ec704c382f474f787f6e3102eb3d2601fad471d7.tar.gz |
Remove resized icon from asar dir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = icloud-notes-git pkgdesc = Unofficial iCloud Notes Desktop App pkgver = 1.2.0.r0.g6635f9d - pkgrel = 1 + pkgrel = 2 url = https://github.com/swe-himelrana/icloud-notes arch = any license = MIT @@ -3,7 +3,7 @@ _pkgname='icloud-notes' pkgname="${_pkgname}-git" pkgver=1.2.0.r0.g6635f9d -pkgrel=1 +pkgrel=2 pkgdesc='Unofficial iCloud Notes Desktop App' arch=('any') url='https://github.com/swe-himelrana/icloud-notes' @@ -41,7 +41,7 @@ build() { -c.electronVersion="$_ver" for _i in 16 32 48 128; do - magick "icon.png" -resize ${_i}x${_i} "icon${_i}.png" + magick "icon.png" -resize ${_i}x${_i} "../icon${_i}.png" done } @@ -49,6 +49,11 @@ package() { # Desktop Entry install -Dm644 "icloud-notes.desktop" \ "${pkgdir}/usr/share/applications/$_pkgname.desktop" + + # icon (except 512x512) + for _i in 16 32 48 128; do + install -Dm644 "icon${_i}.png" "${pkgdir}/usr/share/icons/hicolor/${_i}x${_i}/apps/${_pkgname}.png" + done cd "$_pkgname" @@ -69,7 +74,4 @@ EOD # Icon install -dm755 "${pkgdir}/usr/share/icons/hicolor/512x512/apps/" ln -s "../../../../../lib/${_pkgname}/icon.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png" - for _i in 16 32 48 128; do - install -Dm644 "icon${_i}.png" "${pkgdir}/usr/share/icons/hicolor/${_i}x${_i}/apps/${_pkgname}.png" - done }
\ No newline at end of file |