Commits

Moises Henriquez committed 5453cea

Implementing sourceable SlackBuilds and empty MAKEDEPENDS variable by default

  • Participants
  • Parent commits a7c95ce
  • Tags 0.4.13

Comments (0)

Files changed (2)

File templates/header

 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-"[% ldflags %]"}
 ADDRB=${ADDRB:-"[% add %]"} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-"[% exclude %]"} #Add deps that need to be excluded from the slack-required file here
+MAKEDEPENDS=${MAKEDEPENDS:-""}# Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ $NURON != 1 ]; then
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------

File templates/makepkg

 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##