#!/bin/bash ## PkgBuild script for: swm ## Auto-generated by 'src2pkg' BUILD='1' NAME='swm' VERSION='1.3.4' SRC_SUFFIX='.tar.bz2' STD_FLAGS='-O2 -march=i486 -mcpu=i686' PRE_FIX='/usr' # 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/src && make mkdir -p $PKG_DIR/usr/bin cp -a $SRC_DIR/src/swm $PKG_DIR/usr/bin mkdir -p $PKG_DIR/usr/share/swm cp -a $SRC_DIR/share/swm/* $PKG_DIR/usr/share/swm mkdir -p $PKG_DIR/etc/X11/xinit cp -a $CWD/Resources/xinitrc.swm $PKG_DIR/etc/X11/xinit mkdir -p $PKG_DIR/usr/man/man1 cp -a $SRC_DIR/src/swm.1x $PKG_DIR/usr/man/man1/swm.1 # now make the background utility: cd $SRC_DIR/swmbg && make cp -a $SRC_DIR/swmbg/swmbg $PKG_DIR/usr/bin cp -a $SRC_DIR/swmbg/swmbg.1x $PKG_DIR/usr/man/man1/swmbg.1 cp -a $SRC_DIR/swmbg/pixmaps/*.xpm $PKG_DIR/usr/share/swm/pixmaps fix_pkg_perms strip_bins # create_docs mkdir -p $PKG_DIR/usr/doc/$NAME-$VERSION cd $SRC_DIR/doc && cp -a ./* $PKG_DIR/usr/doc/$NAME-$VERSION compress_man_pages make_description make_doinst make_package post_process # Amigo PkgBuild and src2pkg - 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. # EXTRA_CONFIGS='' PRE_FIX='' DOCLIST='' INSTALL_RULE='' CONFIG_SUBDIR=''