#!/bin/sh ## Advanced.PkgBuild script for: gaim-0.59.9 ## ## 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="gaim" VERSION="0.59.9" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" EXTRA_CONFIGS="--disable-gnome --disable-artsc --disable-screensaver" # 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 ; fix_source_perms ; cd $SRC_DIR ; patch -p1 < $CWD/Resources/gaim-0.59.1-buffer.patch patch -p1 < $CWD/Resources/gaim-0.58-can-2005-0472-woody.patch patch -p1 < $CWD/Resources/gaim-0.59.9-long-url.patch patch -p1 < $CWD/Resources/gaim-0.59.9-oldstatus_aim_away_message_substitution_buffer_overflow_fix.diff configure_source ; compile_source ; fake_install ; fix_pkg_perms ; strip_bins ; create_docs ; cp $CWD/Resources/README.Amigo $CWD/Resources/gaim.spec $PKG_DIR/usr/doc/$NAME-$VERSION/ compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 ## See the Amigo PkgBuild documentation for help and examples.