From 8022154108dde14f47722bd1a18a475ef2a3f95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 5 Feb 2017 19:08:11 +0100 Subject: build.sh, {subr,vars}/*: general cleanup. --- vars/psxstub.vars | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'vars/psxstub.vars') diff --git a/vars/psxstub.vars b/vars/psxstub.vars index a476bd15..fcf018cd 100644 --- a/vars/psxstub.vars +++ b/vars/psxstub.vars @@ -1,18 +1,14 @@ # -# . ./build.vars and set -o errexit -o noglob are assumed. +# set -o errexit -o noglob are assumed. # -pkg_psxstub_all() { - pkg_fetch; - if ! is_build_script_done install; then - if [ "${TARGET}" = i686-nt32-midipix ] \ - || [ "${TARGET}" = x86_64-nt64-midipix ]; then - build_fileop cd psxstub; - make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install; - if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then - build_fileop rm ${PKG_PREFIX}/lib/libpsxscl.a; - fi; - set_build_script_done install finish; +pkg_psxstub_install() { + if [ "${TARGET}" = i686-nt32-midipix ] \ + || [ "${TARGET}" = x86_64-nt64-midipix ]; then + build_fileop cd psxstub; + make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install; + if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then + build_fileop rm ${PKG_PREFIX}/lib/libpsxscl.a; fi; fi; }; -- cgit v1.2.3