#!/bin/sh ## PkgBuild script for: PkgName ##--Standard Variables-- BUILD="1" NAME="waimea" VERSION="0.4.0" SRC_SUFFIX=".tar.bz2" ##--Extras and Options-- # PRE_FIX="" EXTRA_CONFIGS="--enable-shape --enable-xinerama --enable-render \ --enable-randr --enable-xft --enable-pixmap" INSTALL_ARGS="install install-data" ##--Processing Get functions, defines, configs source /usr/libexec/pkgbuild/FUNCTIONS ; ## do_all_processes can substitute these 16 steps: pre_process ; find_source ; make_dirs ; unpack_source ; fix_source_perms ; configure_source ; compile_source ; fake_install ; mv $PKG_DIR/usr/bin/waimea $PKG_DIR/usr/bin/waimea-bin cp $CWD/Resources/waimea-wrapper $PKG_DIR/usr/bin/waimea chown root.root $PKG_DIR/usr/bin/waimea $PKG_DIR/usr/bin/waimea-bin chmod 755 $PKG_DIR/usr/bin/waimea $PKG_DIR/usr/bin/waimea-bin mkdir -p $PKG_DIR/etc/X11/init cp $CWD/Resources/xinitrc.waimea $PKG_DIR/etc/X11/init chown root.root $PKG_DIR/etc/X11/init/xinitrc.waimea chmod 755 $PKG_DIR/etc/X11/init/xinitrc.waimea fix_pkg_perms ; strip_bins ; create_docs ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 # Amigo PkgBuild - Copyright 2005-2006 Gilbert Ashley ## See the documentation for more help and examples. Below are some of # the most common Extras and Options for easy cut-and-paste use. # CONFIG_COMMAND=""