#!/bin/bash ## PkgBuild script for: amaya-fullsrc ## Auto-generated by 'src2pkg' BUILD='1' NAME='amaya' VERSION='9.52' SRC_SUFFIX='.tar.bz2' STD_FLAGS='-O2 -march=i486 -mtune=i686' PRE_FIX='/usr/lib' EXTRA_CONFIGS='--with-gtk' CONFIG_SUBDIR='Amaya' # Get the functions and 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 ( cd $SRC_DIR/Amaya ; mkdir GTK ; cd GTK ; export CFLAGS="$STD_FLAGS" ../configure --prefix=/usr/lib --with-gtk make && FAILED="" # make DESTDIR=$PKG_DIR/$PRE_FIX install ) MAKEFILE="Makefile" OBJ_DIR="$SRC_DIR/Amaya/GTK" fake_install rm -rf $PKG_DIR/usr/lib/bin mkdir -p $PKG_DIR/usr/bin cat > $PKG_DIR/usr/bin/amaya < ## See the documentation for more help and examples. Below are some of # the most common Extras and Options for easy cut-and-paste use. # EXTRA_CONFIGS='' PRE_FIX='' DOCLIST='' INSTALL_RULE='' CONFIG_SUBDIR=''