#!/bin/bash ## src2pkg script for: gdkxft ## Auto-generated by src2pkg-1.1 ## src2pkg Copyright 2006-2007 Gilbert Ashley SOURCE_NAME='gdkxft-1.5.tar.gz' NAME='gdkxft' VERSION='1.5' # ARCH='i486' BUILD='1' PRE_FIX='usr' # Any extra options go here EXTRA_CONFIGS="--sysconfdir=/etc --mandir=$mandir" AUTO_DESKTOP=NO AUTO_ICON=NO # Get the functions and configs source /usr/libexec/src2pkg/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 mv $PKG_DIR/etc/gdkxft.conf $PKG_DIR/etc/gdkxft.conf.new # remove the desktop file for the gnome capplet rm -rf $PKG_DIR/usr/share/applications mkdir -p $PKG_DIR/usr/share/themes/gdkxft cat $CWD/gdkxft.gtkrc > $PKG_DIR/usr/share/themes/gdkxft/gtkrc chmod 644 $PKG_DIR/usr/share/themes/gdkxft/gtkrc mkdir -p $PKG_DIR/etc/profile.d cat $CWD/gdkxft.sh > $PKG_DIR/etc/profile.d/gdkxft.sh # chmod 755 $PKG_DIR/etc/profile.d/gdkxft.sh # HMM, that seems to get run 3 times. Don't know why so many -turn it of anyway # until we find a more elegant way to run that chmod 644$PKG_DIR/etc/profile.d/gdkxft.sh fix_pkg_perms strip_bins create_docs compress_man_pages make_description make_doinst make_package post_process # src2pkg - Copyright 2005-2007 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='' # MAKE_COMMAND='' INSTALL_LINE='' # SHELL_INSTALL='YES' CORRECT_PERMS='NO'