Commits

Anonymous committed 7b05408

Update libfm to 1.1.0

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

  • Participants
  • Parent commits 63e379f
  • Branches veclinux-7.0

Comments (0)

Files changed (1)

File var/vabs/libfm/src/libfm.SlackBuild

 # AUTHORS = 
 
 NAME="libfm"            #Enter package Name!
-VERSION=${VERSION:-"0.1.16_20111020git"}      #Enter package Version!
+VERSION=${VERSION:-"1.1.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"http://downloads.sourceforge.net/pcmanfm/$NAME-$VERSION.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
+MAKEDEPENDS=${MAKEDEPENDS:-"menu-cache"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ "$NORUN" != "1" ]; then
+
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-sh autogen.sh
 ./configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
   --localstatedir=/var \
   --mandir=/usr/man \
   --disable-debug \
-  --enable-udisks=yes \
+  --enable-udisks \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 # add handlers for terminal and archiver from LXDE components to the default config
 sed -i -e 's|\[ui\]|terminal=lxterminal -e %s\narchiver=xarchiver %s\n\n[ui]|' \
   $PKG/etc/xdg/libfm/libfm.conf
+  
 # add them also for web browser and mail client using those of Slackware
 #sed -i -e 's|^WebBrowser=.*|WebBrowser=mozilla-firefox.desktop|' \
-  $PKG/etc/xdg/libfm/pref-apps.conf
+#  $PKG/etc/xdg/libfm/pref-apps.conf
 #sed -i -e 's|^MailClient=.*|MailClient=mozilla-thunderbird.desktop|' \
-  $PKG/etc/xdg/libfm/pref-apps.conf
+#  $PKG/etc/xdg/libfm/pref-apps.conf
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ANNOUNCE* AUTHORS* BUGS* COPYING* ChangeLog* CHANGELOG* Credits* DEVELOPERS \
-LICENSE* MANIFEST PROVENANCE README* TODO* Exception_to_GPL_for_Qt.txt \
+cp -a AUTHORS* COPYING* ChangeLog* NEWS README* TODO* \
 $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##