void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

sourcepkg.sh (1621B)


      1# This shell snippet unsets all variables/functions that can be used in
      2# the package template (excluding subpackages).
      3
      4## VARIABLES
      5unset -v pkgname version revision short_desc homepage license maintainer
      6unset -v archs distfiles checksum build_style build_helper nocross broken
      7unset -v configure_script configure_args wrksrc build_wrksrc create_wrksrc
      8unset -v make_build_args make_check_args make_install_args
      9unset -v make_build_target make_check_target make_install_target
     10unset -v make_cmd meson_cmd gem_cmd fetch_cmd
     11unset -v python_version stackage
     12unset -v cmake_builddir meson_builddir
     13unset -v meson_crossfile
     14unset -v gemspec
     15unset -v go_import_path go_package go_mod_mode
     16unset -v patch_args disable_parallel_build keep_libtool_archives make_use_env
     17unset -v reverts subpackages makedepends hostmakedepends checkdepends depends restricted
     18unset -v nopie build_options build_options_default bootstrap repository reverts
     19unset -v CFLAGS CXXFLAGS FFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
     20unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF PKG_CONFIG
     21
     22# hooks/do-extract/00-distfiles
     23unset -v skip_extraction
     24
     25# hooks/post-install/03-strip-and-debug-pkgs
     26unset -v nodebug
     27
     28# build-helpers/gir.sh for cross builds
     29unset -v GIR_EXTRA_LIBS_PATH GIR_EXTRA_OPTIONS
     30
     31## FUNCTIONS
     32unset -f pre_fetch do_fetch post_fetch
     33unset -f pre_extract do_extract post_extract
     34unset -f pre_patch do_patch post_patch
     35unset -f pre_configure do_configure post_configure
     36unset -f pre_build do_build post_build
     37unset -f pre_check do_check post_check
     38unset -f pre_install do_install post_install
     39unset -f do_clean