games-rpg/freedink: use separate data exheres

This commit is contained in:
Julian Ospald 2017-05-18 18:46:07 +02:00
parent c49ddadc6f
commit f3656ac495
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -1,27 +1,11 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
DATA_V="1.08.20140901"
SUMMARY="Dink Smallwood is an adventure/role-playing game, similar to Zelda (2D top view)"
HOMEPAGE="http://www.freedink.org/"
DOWNLOADS="mirror://gnu/freedink/${PNV}.tar.gz
mirror://gnu/freedink/${PN}-data-${DATA_V}.tar.gz"
DOWNLOADS="mirror://gnu/freedink/${PNV}.tar.gz"
LICENCES="
GPL-3 [[ note = [ engine ] ]]
(
CCPL-Attribution-3.0
CCPL-Attribution-ShareAlike-3.0
FreeArt
GPL-2
GPL-3
OAL-1.0.1
WTFPL-2
ZLIB
public-domain
) [[ note = [ data files ] ]]
"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
@ -38,6 +22,8 @@ DEPENDENCIES="
media-libs/SDL_mixer:0[midi][ogg]
media-libs/SDL_ttf:0
media-libs/fontconfig
post:
games-rpg/freedink-data
"
DEFAULT_SRC_CONFIGURE_PARAMS=(
@ -50,12 +36,3 @@ DEFAULT_SRC_INSTALL_EXTRA_DOCS=(
TROUBLESHOOTING
)
src_install() {
default
emake -C "${WORKBASE}/${PN}-data-${DATA_V}" \
DESTDIR="${IMAGE}" \
DATADIR="/usr/share" \
install
}