[arch-commits] Commit in freemind/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Jun 28 06:26:47 UTC 2020
Date: Sunday, June 28, 2020 @ 06:26:46
Author: bgyorgy
Revision: 655091
upgpkg: freemind 1.0.1-5: Use icons shipped by upstream
Modified:
freemind/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-28 04:11:09 UTC (rev 655090)
+++ PKGBUILD 2020-06-28 06:26:46 UTC (rev 655091)
@@ -5,17 +5,16 @@
pkgname=freemind
pkgver=1.0.1
-pkgrel=4
+pkgrel=5
pkgdesc="A Java mindmapping tool"
arch=('any')
url="https://sourceforge.net/projects/freemind"
license=('GPL')
-depends=('java-runtime' 'desktop-file-utils' 'libxtst')
+depends=('hicolor-icon-theme' 'java-runtime' 'libxtst')
+makedepends=('libicns')
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-bin-max-$pkgver.zip
- $pkgname.png
$pkgname.desktop)
sha256sums=('005e815bf5d1867eadcaa89194df9952d986ace9eed0a3058c7ee6255799a60a'
- '39ec1dc88a1081058faef38b5ea48ca8c0b6ee6a6b397a216ce2f7b508b1ad61'
'eac8db98257fcb8ed9c76ec340af5f3233a4783b8fe1c57ef274b9e7d2b56ed5')
package() {
@@ -34,7 +33,12 @@
# icon and .desktop file
install -Dm644 "${srcdir}"/freemind.desktop "${pkgdir}"/usr/share/applications/freemind.desktop
- install -Dm644 "${srcdir}"/freemind.png "${pkgdir}"/usr/share/pixmaps/freemind.png
+ bsdtar -xf lib/freemind.jar images/FreeMindWindowIconModern.icns
+ icns2png -x images/FreeMindWindowIconModern.icns -o images/
+ for res in 16 32 128 256 512; do
+ install -Dm644 images/FreeMindWindowIconModern_${res}x${res}x32.png \
+ "${pkgdir}"/usr/share/icons/hicolor/${res}x${res}/apps/freemind.png
+ done
# FS#49620 fix
install -d "${pkgdir}"/usr/bin/
More information about the arch-commits
mailing list