37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
|
# Template file for 'kobodeluxe'
|
||
|
pkgname=kobodeluxe
|
||
|
version=0.5.1
|
||
|
revision=1
|
||
|
wrksrc="KoboDeluxe-${version}"
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--sharedstatedir=/var/games"
|
||
|
hostmakedepends="pkg-config"
|
||
|
makedepends="SDL_image-devel"
|
||
|
depends="${pkgname}-data"
|
||
|
short_desc="Space shooter in 2D"
|
||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||
|
license="GPL-2"
|
||
|
homepage="http://olofson.net/kobodl/"
|
||
|
distfiles="${homepage}/download/KoboDeluxe-${version}.tar.bz2"
|
||
|
checksum=0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c
|
||
|
|
||
|
post_extract() {
|
||
|
tar 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
|
||
|
}
|
||
|
|
||
|
kobodeluxe-data_package() {
|
||
|
short_desc+=" - data files"
|
||
|
noarch=yes
|
||
|
pkg_install() {
|
||
|
vmove usr/share/kobo-deluxe
|
||
|
}
|
||
|
}
|