summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorriderius2022-08-03 15:44:22 +0300
committerriderius2022-08-03 15:44:22 +0300
commite13550aee2f249deee44cb7ca81a07f66a2ddb45 (patch)
treec1d9a71c0a01a3c4ba653b647540b94b9bb52451 /PKGBUILD
parentc840d4e936c239002c617d3530a71100e306dc78 (diff)
downloadaur-e13550aee2f249deee44cb7ca81a07f66a2ddb45.tar.gz
Add .desktop file
Signed-off-by: riderius <riderius.help@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index edabbe12547b..6311f1f6555b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,17 @@
pkgname=mcmap
pkgver=3.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="Pixel-art map visualizer for Minecraft. Maps are drawn from an isometric perspective. "
arch=('x86_64')
url="https://github.com/spoutn1k/mcmap"
license=('GPL3')
-depends=('libpng' 'spdlog' 'fmt' 'qt5-tools')
+depends=('zlib' 'libpng' 'spdlog' 'fmt' 'qt5-tools')
makedepends=('git' 'gcc' 'make' 'cmake' 'gtest')
-source=("${pkgname}::git+https://github.com/spoutn1k/mcmap.git")
-sha256sums=('SKIP')
+source=("${pkgname}::git+https://github.com/spoutn1k/mcmap.git"
+ "${pkgname}.desktop")
+sha256sums=('SKIP'
+ '67dff6174f3ef3c072560b6b2c161470d5f76a6282bf9bf6afa9d14750459714')
prepare() {
cd "${srcdir}/${pkgname}"
@@ -26,7 +28,9 @@ build() {
}
package() {
- install -Dm755 ${srcdir}/${pkgname}/build/bin/mcmap "${pkgdir}/usr/bin/mcmap"
- install -Dm755 ${srcdir}/${pkgname}/build/bin/mcmap-gui "${pkgdir}/usr/bin/mcmap-gui"
- install -Dm644 ${srcdir}/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm755 "${srcdir}/${pkgname}/build/bin/mcmap" "${pkgdir}/usr/bin/mcmap"
+ install -Dm755 "${srcdir}/${pkgname}/build/bin/mcmap-gui" "${pkgdir}/usr/bin/mcmap-gui"
+ install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "${srcdir}/${pkgname}/src/graphical/icons/grass_block.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}