[arch-commits] Commit in mari0/trunk (PKGBUILD mari0.desktop)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Jul 9 23:58:35 UTC 2020


    Date: Thursday, July 9, 2020 @ 23:58:34
  Author: svenstaro
Revision: 663057

upgpkg: mari0 1.6.2-3: Use proper icon (FS#67211)

Modified:
  mari0/trunk/PKGBUILD
  mari0/trunk/mari0.desktop

---------------+
 PKGBUILD      |   15 ++++++++-------
 mari0.desktop |    2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 23:40:39 UTC (rev 663056)
+++ PKGBUILD	2020-07-09 23:58:34 UTC (rev 663057)
@@ -3,7 +3,7 @@
 
 pkgname=mari0
 pkgver=1.6.2
-pkgrel=2
+pkgrel=3
 pkgdesc="The Mario game with Portal gun mechanics"
 arch=('any')
 url="http://stabyourself.net/mari0/"
@@ -12,9 +12,9 @@
 makedepends=('zip')
 source=(${pkgname}.sh
         ${pkgname}.desktop
-    	https://github.com/Stabyourself/mari0/archive/${pkgver}.tar.gz)
+    	$pkgname-$pkgver.tar.gz::https://github.com/Stabyourself/mari0/archive/${pkgver}.tar.gz)
 sha512sums=('84d237f82ba1ad5d6c52d66d27469de7044572626381af07230b46a476eb077bce94329408cf4e0c0f4ae1c90a7adf6562dc1ca795591a7687608a253af6b705'
-            '703e3e4d8d69258f94b19a217986646b261be32fa26644d585fc2a2f273bda2afd77aa58b6eee3b2f0050551bc18ba4733b3597d133a29fdc84f844816f85e15'
+            '0e9f73b5e0c5fe897b4587b30be379380e563f4eef0610fdf88d23a72265333d182ec6164f5c7c9313f81be68b40cc5b579bd5a2e468138445301e4c56c64499'
             '3d1353f12f02fd993e309cac7ab653c3cbc8a60e8585663186870b5ea49542f46ec2c554711bba710febaf3ad73c7bf66cfba2ccbe4831aa7d5cb2fe5aab8992')
 
 package() {
@@ -23,12 +23,13 @@
     zip -r9 "${srcdir}"/${pkgname}.love *
 
 	# Install Data
-	install -D -m755 "${srcdir}/${pkgname}.love" "${pkgdir}/usr/share/${pkgname}/${pkgname}.love"
-	install -D -m644 "${srcdir}/${pkgname}-${pkgver}/README.md" "$pkgdir/usr/share/${pkgname}/README.md"
+	install -Dm755 "${srcdir}/${pkgname}.love" "${pkgdir}/usr/share/${pkgname}/${pkgname}.love"
+	install -Dm644 "${srcdir}/${pkgname}-${pkgver}/README.md" "$pkgdir/usr/share/${pkgname}/README.md"
 
 	# Install Launcher
-	install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+	install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
 
 	# Install Desktop
-	install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+	install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+    install -Dm644 "graphics/icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
 }

Modified: mari0.desktop
===================================================================
--- mari0.desktop	2020-07-09 23:40:39 UTC (rev 663056)
+++ mari0.desktop	2020-07-09 23:58:34 UTC (rev 663057)
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Version=1.6.2
 Type=Application
-Icon=gnome-mime-application-x-love-game
+Icon=mari0
 Exec=mari0
 Terminal=false
 StartupNotify=false



More information about the arch-commits mailing list