diff options
author | Eric Hameleers <alien@slackware.com> | 2008-07-03 21:16:34 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2008-07-03 21:16:34 +0000 |
commit | bcc0ec1f069b05bb45c9929c19b83ce7182ac503 (patch) | |
tree | cc9b3cf34109ef2e8dc5ad115301e35c2ec26b59 /wicd | |
parent | deac21a5740e0bfa9c38b384cd1ee0e7fed79ee1 (diff) | |
download | asb-bcc0ec1f069b05bb45c9929c19b83ce7182ac503.tar.gz asb-bcc0ec1f069b05bb45c9929c19b83ce7182ac503.tar.xz |
Final script for SVN version of wicd
Diffstat (limited to 'wicd')
-rwxr-xr-x | wicd/build/wicd.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/wicd/build/wicd.SlackBuild b/wicd/build/wicd.SlackBuild index 58a8cb2f..2006f33c 100755 --- a/wicd/build/wicd.SlackBuild +++ b/wicd/build/wicd.SlackBuild @@ -32,7 +32,7 @@ # Changelog: # 1.5.0rc3-1: 29/jun/2008 by Eric Hameleers <alien@slackware.com> # * Initial build. -# r325-1: 02/jul/2008 by Eric Hameleers <alien@slackware.com> +# r325-1: 03/jul/2008 by Eric Hameleers <alien@slackware.com> # * The SVN version has important fixes # # Run 'sh wicd.SlackBuild --cleanup' to build a Slackware package. @@ -86,6 +86,7 @@ src_checkout() { mkdir $PRGNAM-${VERSION} \ && cd $PRGNAM-${VERSION} \ && svn checkout --revision $REV https://wicd.svn.sourceforge.net/svnroot/wicd/${BRANCH} . \ + && find . -type d -name '.svn' -depth | xargs rm -rf \ && chown -R root:root . \ && cd .. \ && tar -${TARCOMP}cf ${1} $PRGNAM-${VERSION} \ @@ -156,9 +157,9 @@ chown -R root:root . chmod -R u+w,go+r-w,a-s . echo Building ... -## Fix missing KDE4 location of kdesu: -#cat $SRCDIR/wicd-1.5.0rc3_misc.py_kde4.patch | patch -p1 \ -# 2>&1 | tee $OUTPUT/patch-$PRGNAM.log +# Fix missing icons in the GUI: +cat $SRCDIR/wicd_icons.patch | patch -p1 \ + 2>&1 | tee $OUTPUT/patch-$PRGNAM.log # Fix the version hardcoding in the setup script: sed -i -e "/\/etc\/slackware-version/,/elif os.access/s#/usr/doc/wicd-1.5.0/#/usr/doc/$PRGNAM-$VERSION/#" setup.py # Use our own Slackware rc script, overwriting what is in the source: @@ -221,7 +222,7 @@ if [ -x usr/bin/update-desktop-database ]; then fi PYTHON=\$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.) -if [ \$(echo \$PYTHON | tr -d '.') -ne $PYTHONREQ ]; then +if [ "\$PYTHON" != "$PYTHONREQ" ]; then echo "" echo "Your Python is version \$PYTHON but this package requires $PYTHONREQ" echo "" |