Skip to content

Commit

Permalink
archlinux: install .desktop file and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
LizzyFleckenstein03 committed Aug 24, 2024
1 parent 91e9ec2 commit ff4b0b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions misc/archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Lizzy Fleckenstein <[email protected]>

pkgname=dragonblocks-git
pkgver=0.2.2.94.g88943ca
pkgver=0.2.2.109.g4f8f408
pkgrel=1
pkgdesc='A multiplayer voxelgame for POSIX systems.'
arch=('i686' 'x86_64')
Expand Down Expand Up @@ -36,7 +36,9 @@ package() {
cd "$srcdir/dragonblocks_alpha"
meson install -C build --destdir "$pkgdir"

install -m 755 "dragonblocks.sh" "$pkgdir/usr/bin/dragonblocks"
install -Dm 755 "dragonblocks.sh" "$pkgdir/usr/bin/dragonblocks"
install -Dm 644 "assets/dragonblocks.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/dragonblocks_alpha.svg"
install -Dm 644 "misc/dragonblocks_alpha.desktop" "$pkgdir/usr/share/applications/dragonblocks_alpha.desktop"

(cd assets &&
find -type f -exec install -Dm 644 "{}" "$pkgdir/usr/share/dragonblocks/{}" \; )
Expand Down

0 comments on commit ff4b0b6

Please sign in to comment.