neverball: split build stuff into do_build().

--HG--
extra : convert_revision : a4f46eaa9f5bfbb07e5a58c720cb88b4cd31400c
This commit is contained in:
Juan RP 2010-01-16 03:44:39 +01:00
parent d9a891b969
commit 1b9e15635d
1 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,7 @@ Add_dependency build SDL-devel
Add_dependency build SDL_ttf-devel Add_dependency build SDL_ttf-devel
Add_dependency build physfs-devel Add_dependency build physfs-devel
do_install() do_build()
{ {
local mjobs local mjobs
[ -n "$XBPS_MAKE_JOBS" ] && mjobs="-j$XBPS_MAKE_JOBS" [ -n "$XBPS_MAKE_JOBS" ] && mjobs="-j$XBPS_MAKE_JOBS"
@ -36,6 +36,11 @@ do_install()
cd ${wrksrc} || return 1 cd ${wrksrc} || return 1
HOME=/ make ${mjobs} ENABLE_NLS=1 DATADIR=/usr/share/neverball \ HOME=/ make ${mjobs} ENABLE_NLS=1 DATADIR=/usr/share/neverball \
LOCALEDIR=/usr/share/locale || return 1 LOCALEDIR=/usr/share/locale || return 1
}
do_install()
{
cd ${wrksrc} || return 1
for dir in usr/bin usr/share/neverball usr/share/locale \ for dir in usr/bin usr/share/neverball usr/share/locale \
usr/share/applications usr/share/pixmaps \ usr/share/applications usr/share/pixmaps \