#!/bin/bash ## src2pkg script for: rox-filer ## Auto-generated by src2pkg-2.4 ## src2pkg - Copyright 2005-2011 Gilbert Ashley SOURCE_NAME='ROX-Filer-1.2.2-13.tar.bz2' ALT_NAME='afx-rox-filer' ALT_VERSION='1.2.2.13' # ARCH='' # BUILD='1' # PRE_FIX='usr' # Any extra options go here: # EXTRA_CONFIGS="" ADD_REQS=rox-base # Optional function replaces configure_source, compile_source, fake_install # To use, uncomment and write/paste CODE between the {} brackets. # build() { CODE } # Get the functions and configs . /usr/libexec/src2pkg/FUNCTIONS ; # Execute the named packaging steps: pre_process find_source make_dirs unpack_source fix_source_perms # configure_source # # compile_source # If used, the 'build' function replaces these 3 # fake_install # # compile the thing ( cd $SRC_DIR export GTK_CONFIG=gtk-config ./AppRun --compile (cd src && make clean) ) mkdir -p $PKG_DIR/usr/apps/AFX-ROX-Filer cp -a $SRC_DIR/* $PKG_DIR/usr/apps/AFX-ROX-Filer # be sure to copy the hidden DirIcon png file cp $SRC_DIR/.DirIcon $PKG_DIR/usr/apps/AFX-ROX-Filer chown -R root:root $PKG_DIR/usr/apps/AFX-ROX-Filer chmod 755 $PKG_DIR/usr/apps/AFX-ROX-Filer # remove the sources, but leave the patches in case anyone is interested ( cd $PKG_DIR/usr/apps/AFX-ROX-Filer && rm -rf src ) chmod 644 $PKG_DIR/usr/apps/AFX-ROX-Filer/patches/* mkdir -p $PKG_DIR/usr/bin cat > $PKG_DIR/usr/bin/rox <