#!/bin/sh ## Advanced.PkgBuild script for: xfce-mini ## ## 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="xfce-mini" VERSION="3.8.18.02" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" EXTRA_CONFIGS="--sysconfdir=/etc/X11 \ --with-data-dir=/usr/share/xfce \ --enable-xft --disable-dt --disable-gdm" # 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 ; # handleboxes waste resources -comment out if you ant to keep them. # zcat $CWD/xftree_no-handleboxes-0.1.diff.gz | patch -p0 fix_source_perms ; configure_source ; compile_source ; fake_install ; cd $PKG_DIR/etc/X11/xfce ; rm Xclients fvwm* xfbdrc xfmouserc xfsoundrc xffwmrc xinitrc* xsession cd $PKG_DIR/usr/bin ; rm CDE* startxfce xfbd* xfce_remove xfce_setup xfce_upgrade xfgnome xfhelp xflock xfm* xfp* xfskin xfsound xfumed xfwm cd $PKG_DIR/usr/man/man1 ; rm xfbd* xfce* xfgnome* xfhelp* xflock* xfm* xfp* xfskin* xfsound* xfumed* xfwm* cd $PKG_DIR/usr/share/xfce ; rm -rf backdrops cursors fonts help/images palettes sounds textures cd $PKG_DIR/usr/share/xfce/help/html ; rm -rf style* adv* cp $SRC_DIR/xftree/icons/xftree_icon.xpm $PKG_DIR/usr/share/xfce/icons/ 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.