#!/bin/sh ## Advanced.PkgBuild script for: WindowMaker ## ## Amigo PkgBuild-0.3 - Gilbert Ashley ## ##### ------------Standard Package Variables------------------- # Most source code only needs these 4 variables set. # Set SRC_SUFFIX to ".tar.gz" ".tgz" ".tar.bz2" or ".tbz" BUILD="1" NAME="WindowMaker" VERSION="0.91.0" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" EXTRA_CONFIGS="--sysconfdir=/etc/X11 --disable-mmx --enable-modelock --enable-xinerama --enable-usermenu --with-gnustepdir=/usr/lib/GNUstep/Applications" # DOCLIST="" # GROUP_NAME="" #######----------------Processing------------------------------ # Get functions and read in configuration files source /usr/share/Amigo/PkgBuild/FUNCTIONS ; # This template calls each process individually so you can add # extra instructions between processes, or even leave out steps. pre_process ; find_source ; make_dirs ; unpack_source ; cd $SRC_DIR ; zcat $CWD/wmaker.inst.diff.gz | patch -p1 fix_source_perms ; cd $SRC_DIR ; aclocal -I . ; automake -a --force --copy ; export LINGUAS="`cd po ; /bin/ls *.po | sed 's/.po//g'`" export GNUSTEP_LOCAL_ROOT=/usr/lib/GNUstep export NLSDIR=/usr/share/locale configure_source ; compile_source ; cd $SRC_DIR ; zcat $CWD/windowmaker.wmrootmenu.diff.gz | patch -p1 fake_install ; fix_pkg_perms ; strip_bins ; create_docs ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 ## See the Amigo PkgBuild documentation for help and examples.