void-packages/srcpkgs/kobodeluxe/template

29 lines
942 B
Bash

# Template file for 'kobodeluxe'
pkgname=kobodeluxe
version=0.5.1
revision=3
wrksrc="KoboDeluxe-${version}"
build_style=gnu-configure
configure_args="--sharedstatedir=/var/games"
hostmakedepends="pkg-config"
makedepends="SDL_image-devel"
short_desc="Space shooter in 2D"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://olofson.net/kobodl"
distfiles="${homepage}/download/KoboDeluxe-${version}.tar.bz2"
checksum=0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c
replaces="kobodeluxe-data>=0"
post_extract() {
bsdtar xf icons.tar.gz
}
post_install() {
vinstall icons/KDE/kobo-deluxe.desktop 644 usr/share/applications kobodl.desktop
for _size in 16 22 32 48 64 128; do
vinstall icons/KDE/icons/${_size}x${_size}/kobodl.png 644 \
usr/share/icons/hicolor/${_size}x${_size}/apps
done
vinstall icons/KDE/icons/32x32/kobodl.png 644 usr/share/pixmaps
}