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

View file

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