From c9f7fd3be233638b216a2bc7f7f7bcc0dae3d9d6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 24 Mar 2024 12:03:38 +0900 Subject: [PATCH] fix desktop entry icon (install the image) --- .SRCINFO | 2 +- PKGBUILD | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9398a53..65697ed 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = sumatrapdf pkgdesc = PDF, eBook (epub, mobi), comic book (cbz/cbr), DjVu, XPS, CHM, image viewer for Windows. Small, fast, customizable, free. pkgver = 3.5.2 - pkgrel = 2 + pkgrel = 3 url = https://www.sumatrapdfreader.org/free-pdf-reader arch = x86_64 license = GPL3 diff --git a/PKGBUILD b/PKGBUILD index 3e5179d..f02970f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=sumatrapdf pkgver=3.5.2 -pkgrel=2 +pkgrel=3 pkgdesc="PDF, eBook (epub, mobi), comic book (cbz/cbr), DjVu, XPS, CHM, image viewer for Windows. Small, fast, customizable, free." arch=('x86_64') url='https://www.sumatrapdfreader.org/free-pdf-reader' @@ -36,6 +36,7 @@ package() { # desktop entry install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/${pkgname}-3.png" "$pkgdir/usr/share/pixmaps/${pkgname}-3.png" echo "You may need MS fonts for non-latin characters." } @@ -49,3 +50,5 @@ package() { # - you can remove it # - change WINEPREFIX to config directory # - you can delete ~/.sumatrapdf/ +# 3.5.2-3 +# - fix desktop entry icon