#!/bin/sh ## Advanced.PkgBuild script for: nedit ## ## 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="nedit" VERSION="5.4" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" # EXTRA_CONFIGS="" DOCLIST="COPYRIGHT ReleaseNotes ChangeLog README" # 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 ; # configure_source ; # compile_source ; # fake_install ; cd $SRC_DIR ; make linux ; mkdir -p $PKG_DIR/usr/bin mv $SRC_DIR/source/nc $SRC_DIR/source/ncl cp -a $SRC_DIR/source/ncl $PKG_DIR/usr/bin cp -a $SRC_DIR/source/nedit $PKG_DIR/usr/bin fix_pkg_perms ; strip_bins ; create_docs ; cd $SRC_DIR/doc ; cp -a faq.txt nedit.doc nedit.html $PKG_DIR/usr/doc/$NAME-$VERSION mkdir -p $PKG_DIR/usr/man/man1 cd $SRC_DIR/doc ; cp -a ncl.1 nedit.1 $PKG_DIR/usr/man/man1 cp $CWD/Resources/nedit.rc $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.