wok-next diff dooble/receipt @ rev 21212
updated barnyard2 (1.9 -> 2.1.13)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 17:16:10 2019 +0100 (2019-12-02) |
parents | 2809ecb8c754 |
children |
line diff
1.1 --- a/dooble/receipt Sun Oct 29 09:27:29 2017 +0100 1.2 +++ b/dooble/receipt Mon Dec 02 17:16:10 2019 +0100 1.3 @@ -3,24 +3,23 @@ 1.4 PACKAGE="dooble" 1.5 VERSION="1.56d" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="Private mode only (almost) worst Qt webkit browser. With builtin fm & xterm." 1.8 +SHORT_DESC="Private mode only (almost) worst Qt webkit browser. With builtin fm & xterm" 1.9 MAINTAINER="psychomaniak@xakep.ru" 1.10 LICENSE="BSD" 1.11 -WEB_SITE="http://dooble.sourceforge.net" 1.12 +WEB_SITE="https://dooble.sourceforge.io/" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/files/Dooble-${VERSION}-src.tar.gz" 1.16 +WGET_URL="$SF_MIRROR/$PACKAGE/Dooble-$VERSION-src.tar.gz" 1.17 1.18 -DEPENDS="qt5 libgcrypt sqlite3 cacerts " 1.19 BUILD_DEPENDS="wget cacerts qt5-dev libgcrypt-dev sqlite3-dev qtwebkit" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 - srcdir="$src/Version 1.x" ; cd $srcdir 1.25 +compile_rules() { 1.26 + srcdir="$src/Version 1.x"; cd $srcdir 1.27 # find . -regex '.*\(win32\|osx64\|icns\).*' -exec ls -l {} \; -delete 1.28 sed -i 's|local/dooble/do|bin/do|g' dooble.desktop 1.29 - qmake PREFIX="/usr/" ${PACKAGE}.qt5.pro 1.30 - make && make INSTALL_ROOT=$install install 1.31 + qmake PREFIX="/usr/" $PACKAGE.qt5.pro 1.32 + make && 1.33 + make INSTALL_ROOT=$install install || return 1 1.34 # rm -rf $install/usr/local/$PACKAGE/D${PACKAGE:1} 1.35 mkdir -p $install/usr/share $install/usr/bin $install/usr/lib 1.36 install $src/libSpotOn/libspoton.so $install/usr/lib 1.37 @@ -31,21 +30,21 @@ 1.38 # cd $install/usr/share/$PACKAGE && rm -rf Tab Images 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 +genpkg_rules() { 1.45 mkdir -p $fs/usr/bin $fs/usr/share/$PACKAGE 1.46 cp -a $src/D${PACKAGE:1} $fs/usr/bin 1.47 cp -a $src/libSpotOn/libspoton.so $fs/usr/lib 1.48 # cp -a $install/* $fs 1.49 -# cd $fs/usr/share/$PACKAGE ; ln -s ../../bin/D${PACKAGE:1} D${PACKAGE:1} 1.50 -# cd $fs/usr/share/$PACKAGE/Icons ; rm -rf 64x64 nuovext nuvola black-and-white && ln -s faience nuovext 1.51 -# cd $fs/usr/share/$PACKAGE/Translations ; find . -size -44k -delete 1.52 +# cd $fs/usr/share/$PACKAGE; ln -s ../../bin/D${PACKAGE:1} D${PACKAGE:1} 1.53 +# cd $fs/usr/share/$PACKAGE/Icons; rm -rf 64x64 nuovext nuvola black-and-white && ln -s faience nuovext 1.54 +# cd $fs/usr/share/$PACKAGE/Translations; find . -size -44k -delete 1.55 # mv $fs/usr/share/$PACKAGE/$PACKAGE.sh $fs/usr/bin/ && cd $fs/usr/bin 1.56 # sed -i 's|local/dooble/Dooble|bin/Dooble|g' $PACKAGE.sh 1.57 # sed -i 's|cd /usr/local/dooble|cd /usr/share/dooble|g' $PACKAGE.sh 1.58 # sed -i 's/fusion/ /g' $PACKAGE.sh 1.59 - cd $fs/usr/share/$PACKAGE ; cat>'Dooble.ini' << EOT 1.60 + 1.61 + cd $fs/usr/share/$PACKAGE 1.62 + cat>'Dooble.ini' <<EOT 1.63 [General] 1.64 iconSet=/usr/share/dooble/Icons/faience/configuration.cfg 1.65 desktopBackground=/usr/share/images/slitaz-background.jpg 1.66 @@ -60,10 +59,10 @@ 1.67 searchName=DuckDuckGo 1.68 EOT 1.69 chown -R root:root $fs 1.70 + DEPENDS="qt5 libgcrypt sqlite3 cacerts" 1.71 } 1.72 1.73 -post_install() 1.74 -{ 1.75 +post_install() { 1.76 for i in $(ls "$1/home" 2> /dev/null); do 1.77 [ -f "$1/home/$i/.dooble/Dooble/Dooble.ini" ] && continue 1.78 mkdir -p "$1/home/$i/.dooble/Dooble" 1.79 @@ -73,9 +72,6 @@ 1.80 done 1.81 } 1.82 1.83 -post_remove() 1.84 -{ 1.85 - echo -n "Removing configuration files..." 1.86 +post_remove() { 1.87 rm -rf /home/*/.dooble 1.88 - status 1.89 }