wok-6.x annotate get-linuxqq/stuff/get-linuxqq @ rev 22994
updated lbreakout2 (2.6beta-7 -> 2.6.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 02 14:15:44 2020 +0100 (2020-03-02) |
parents | 7f0fea8ad9f4 |
children |
rev | line source |
---|---|
Hans-G?nter@22838 | 1 #!/bin/sh |
Hans-G?nter@22838 | 2 # |
Hans-G?nter@22838 | 3 # get-linuxqq - create and install SliTaz package linuxqq (Tencent QQ) |
Hans-G?nter@22838 | 4 # |
Hans-G?nter@22838 | 5 # (C) 2020 SliTaz - GNU General Public License v3. |
Hans-G?nter@22838 | 6 # Author : unknown |
Hans-G?nter@22838 | 7 # modified by HGT on 2020-02-11 |
Hans-G?nter@22838 | 8 # |
rocky@3550 | 9 |
Hans-G?nter@22838 | 10 # === Initialisations === |
rocky@3550 | 11 |
Hans-G?nter@22838 | 12 PKGS_DB="/var/lib/tazpkg" # packages database directory |
rocky@3550 | 13 PACKAGE="linuxqq" |
Hans-G?nter@22838 | 14 VERSION="1.0.2" # latest versions as 64-bit variants only |
Hans-G?nter@22838 | 15 CATEGORY="non-free" |
Hans-G?nter@22838 | 16 TAGS="chat im" |
Hans-G?nter@22838 | 17 SHORT_DESC="QQ for Linux $VERSION." |
Hans-G?nter@22838 | 18 WEB_SITE="http://im.qq.com/" |
Hans-G?nter@22838 | 19 DEPENDS="gtk+ gdk-pixbuf" |
rocky@3550 | 20 |
Hans-G?nter@22838 | 21 # Declare functions check_root, status, ... |
Hans-G?nter@22838 | 22 . /lib/libtaz.sh |
Hans-G?nter@22838 | 23 # and make commandline options (if any) available as variables |
Hans-G?nter@22838 | 24 |
Hans-G?nter@22838 | 25 is_installed() |
Hans-G?nter@22838 | 26 { |
Hans-G?nter@22838 | 27 if [ -d $ROOT$PKGS_DB/installed/$PACKAGE ] |
Hans-G?nter@22838 | 28 then #package is deemed to be installed |
Hans-G?nter@22838 | 29 return 0 |
Hans-G?nter@22838 | 30 else |
Hans-G?nter@22838 | 31 return 1 |
Hans-G?nter@22838 | 32 fi |
Hans-G?nter@22838 | 33 } |
Hans-G?nter@22838 | 34 |
Hans-G?nter@22838 | 35 # Show commandline options, if requested by --help |
Hans-G?nter@22838 | 36 if [ "$help" == "yes" ] |
Hans-G?nter@22838 | 37 then |
Hans-G?nter@22838 | 38 echo "Commandline options: |
Hans-G?nter@22838 | 39 $0 |
Hans-G?nter@22838 | 40 --root=<path-to-root> |
Hans-G?nter@22838 | 41 --install=yes|no |
Hans-G?nter@22838 | 42 --keep=no|yes |
Hans-G?nter@22838 | 43 --tmpdir=<directory-to-build-package>" |
Hans-G?nter@22838 | 44 exit |
rocky@3550 | 45 fi |
rocky@3550 | 46 |
Hans-G?nter@22838 | 47 # Check for system administrator privileges |
Hans-G?nter@22838 | 48 check_root |
Hans-G?nter@22838 | 49 |
Hans-G?nter@22838 | 50 title "Package $PACKAGE will be build as SliTaz package and installed" |
Hans-G?nter@22838 | 51 |
Hans-G?nter@22838 | 52 # Fetch latest version, unless version is set by option --version |
Hans-G?nter@22838 | 53 [ -z "$version" ] && version="latest" # unused |
Hans-G?nter@22838 | 54 |
Hans-G?nter@22838 | 55 # Install SliTaz package, unless inhibited by option --install=no |
Hans-G?nter@22838 | 56 [ -z "$install" ] && install="yes" |
Hans-G?nter@22838 | 57 |
Hans-G?nter@22838 | 58 # Delete SliTaz package file $PACKAGE-$VERSION.tazpkg after installation, |
Hans-G?nter@22838 | 59 # unless option --keep=yes is given |
Hans-G?nter@22838 | 60 [ -z "$keep" ] && keep="no" |
Hans-G?nter@22838 | 61 |
Hans-G?nter@22838 | 62 # Directory for temporary files |
Hans-G?nter@22838 | 63 TMP_DIR="$tmpdir" |
Hans-G?nter@22838 | 64 [ -z "$tmpdir" ] && TMP_DIR="/tmp/get-$PACKAGE" |
Hans-G?nter@22838 | 65 |
Hans-G?nter@22838 | 66 # Logging file (unused by now) |
Hans-G?nter@22838 | 67 LOG="$logfile" |
Hans-G?nter@22838 | 68 [ -z "$logfile" ] && LOG=$TMP_DIR/get-$PACKAGE.log |
Hans-G?nter@22838 | 69 |
Hans-G?nter@22838 | 70 cat <<EOT |
Hans-G?nter@22838 | 71 Options in use: |
Hans-G?nter@22838 | 72 root : $root/ |
Hans-G?nter@22838 | 73 install package: $install |
Hans-G?nter@22838 | 74 keep tazpkg : $keep |
Hans-G?nter@22838 | 75 build directory: $TMP_DIR |
Hans-G?nter@22838 | 76 |
Hans-G?nter@22838 | 77 EOT |
Hans-G?nter@22838 | 78 |
Hans-G?nter@22838 | 79 separator; newline |
Hans-G?nter@22838 | 80 |
Hans-G?nter@22838 | 81 # === Remove package, if installed === |
Hans-G?nter@22838 | 82 if is_installed |
Hans-G?nter@22838 | 83 then |
Hans-G?nter@22838 | 84 echo "$PACKAGE is already installed." |
Hans-G?nter@22838 | 85 echo -n "Would you like to remove and reinstall this package [y/n]? " |
Hans-G?nter@22838 | 86 read answer |
Hans-G?nter@22838 | 87 case "$answer" in |
Hans-G?nter@22838 | 88 y|Y) |
Hans-G?nter@22838 | 89 action "Removing installed version..." |
Hans-G?nter@22838 | 90 tazpkg remove $PACKAGE --root="$root/" |
Hans-G?nter@22838 | 91 [ ! is_installed ] && |
Hans-G?nter@22838 | 92 die "Can't remove installed version. Exiting." |
Hans-G?nter@22838 | 93 ;; |
Hans-G?nter@22838 | 94 *) |
Hans-G?nter@22838 | 95 echo "Leaving $PACKAGE untouched." |
Hans-G?nter@22838 | 96 exit 0 |
Hans-G?nter@22838 | 97 ;; |
Hans-G?nter@22838 | 98 esac |
rocky@3550 | 99 fi |
rocky@3550 | 100 |
Hans-G?nter@22838 | 101 # === Fetch archive file, if not existing === |
Hans-G?nter@22838 | 102 CUR_DIR=$(pwd) |
Hans-G?nter@22838 | 103 mkdir -p $TMP_DIR |
Hans-G?nter@22838 | 104 cd $TMP_DIR |
Hans-G?nter@22838 | 105 FILE="${PACKAGE}_v${VERSION}_i386.tar.gz" |
Hans-G?nter@22838 | 106 WGET_URL="http://dl_dir.qq.com/linuxqq/$FILE" |
Hans-G?nter@22838 | 107 if [ -f $FILE ] |
Hans-G?nter@22838 | 108 then |
Hans-G?nter@22838 | 109 echo "Using existing archive file $FILE" |
Hans-G?nter@22838 | 110 else |
Hans-G?nter@22838 | 111 action "Fetching the archive" |
Hans-G?nter@22838 | 112 newline |
Hans-G?nter@22838 | 113 wget --no-check-certificate $WGET_URL |
Hans-G?nter@22838 | 114 if [ ! -f $FILE ] |
Hans-G?nter@22838 | 115 then |
Hans-G?nter@22838 | 116 cd $CUR_DIR |
Hans-G?nter@22838 | 117 rm -rf $TMP_DIR |
Hans-G?nter@22838 | 118 echo "Could not transfer $FILE from $WGET_URL. Exiting." |
Hans-G?nter@22838 | 119 exit 1 |
Hans-G?nter@22838 | 120 fi |
pascal@3893 | 121 fi |
rocky@3550 | 122 |
Hans-G?nter@22838 | 123 # === Extract files from archive === |
Hans-G?nter@22838 | 124 action "Extracting the archive" |
Hans-G?nter@22838 | 125 newline |
Hans-G?nter@22838 | 126 |
Hans-G?nter@22838 | 127 tar xzf $FILE |
rocky@7846 | 128 mkdir -p $PACKAGE-$VERSION/fs/usr/share/tencent/ |
rocky@7846 | 129 mkdir -p $PACKAGE-$VERSION/fs/usr/share/applications/ |
rocky@7846 | 130 mkdir -p $PACKAGE-$VERSION/fs/usr/bin/ |
Hans-G?nter@22838 | 131 mv $TMP_DIR/${PACKAGE}_v${VERSION}_i386 \ |
Hans-G?nter@22838 | 132 $TMP_DIR/$PACKAGE-$VERSION/fs/usr/share/tencent/qq |
rocky@3550 | 133 |
Hans-G?nter@22838 | 134 # Remove archive file |
Hans-G?nter@22838 | 135 rm -f $FILE |
jozee@4993 | 136 |
Hans-G?nter@22838 | 137 cd $TMP_DIR |
Hans-G?nter@22838 | 138 |
Hans-G?nter@22838 | 139 # === Create SliTaz package === |
rocky@3550 | 140 |
rocky@7846 | 141 cat > $PACKAGE-$VERSION/fs/usr/bin/qq << EOT |
rocky@7846 | 142 #!/bin/sh |
rocky@7846 | 143 cd /usr/share/tencent/qq/ |
rocky@7846 | 144 ./qq |
rocky@7846 | 145 EOT |
rocky@7846 | 146 chmod +x $PACKAGE-$VERSION/fs/usr/bin/qq |
rocky@7846 | 147 |
rocky@7846 | 148 cat > $PACKAGE-$VERSION/fs/usr/share/applications/qq.desktop << EOT |
rocky@7846 | 149 [Desktop Entry] |
rocky@7846 | 150 Version=1.0 |
rocky@7846 | 151 Encoding=UTF-8 |
rocky@7846 | 152 Name=腾讯QQ |
rocky@7846 | 153 Comment=腾讯QQ |
rocky@7846 | 154 Exec=/usr/bin/qq |
samuel_trassare@11989 | 155 Icon=qq |
rocky@7846 | 156 Terminal=false |
rocky@7846 | 157 Type=Application |
rocky@7846 | 158 Categories=Application;Network;Tencent Software; |
rocky@7846 | 159 StartupNotify=true |
rocky@7846 | 160 Name[zh_CN]=腾讯QQ |
rocky@7846 | 161 GenericName[zh_CN]= |
rocky@7846 | 162 Comment[zh_CN]=腾讯QQ |
rocky@7846 | 163 EOT |
rocky@7846 | 164 |
Hans-G?nter@22838 | 165 # Create recipe for SliTaz package |
rocky@3550 | 166 cat > $PACKAGE-$VERSION/receipt << EOT |
Hans-G?nter@22838 | 167 # SliTaz package receipt. |
Hans-G?nter@22838 | 168 |
rocky@3550 | 169 PACKAGE="$PACKAGE" |
rocky@3550 | 170 VERSION="$VERSION" |
Hans-G?nter@22838 | 171 CATEGORY="$CATEGORY" |
Hans-G?nter@22838 | 172 TAGS="$TAGS" |
Hans-G?nter@22838 | 173 SHORT_DESC="$SHORT_DESC" |
Hans-G?nter@22838 | 174 WEB_SITE="$WEB_SITE" |
rocky@7846 | 175 |
Hans-G?nter@22838 | 176 DEPENDS="$DEPENDS" |
Hans-G?nter@22838 | 177 |
Hans-G?nter@22838 | 178 post_install() |
Hans-G?nter@22838 | 179 { |
rocky@7846 | 180 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache |
rocky@7846 | 181 } |
rocky@3550 | 182 EOT |
rocky@3550 | 183 |
rocky@7846 | 184 # for qq.png |
rocky@7846 | 185 { uudecode <<-! |
rocky@7846 | 186 begin-base64 664 - |
rocky@7846 | 187 iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgI |
rocky@7846 | 188 fAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAAB90RVh0U29mdHdhcmUATWFj |
rocky@7846 | 189 cm9tZWRpYSBGaXJld29ya3MgOLVo0ngAABPPSURBVGiB1ZlplJ1Vme9/e7/T |
rocky@7846 | 190 Gavq1Km5KkVlIiMZCCHEQIAwB5S2MYI0BBGkUWxb5XqbFqSFdikX7GXbDVzt |
rocky@7846 | 191 VkZRkcE0CCEYIcxzIAQImSqVpObhzOe857zD3vdDAfZdEhPQD/c+a70fzjpr |
rocky@7846 | 192 ve/vv//72ft59hZaa/5/DvMv9aJjjlxlOjFnSiweP8qrVk9y3ep8pXRaqdCw |
rocky@7846 | 193 batkmNYOHerfD+/rfXbPYO9uX/veX+K74i/hwEknfXJ5IZP/m3LZPdPzvDYd |
rocky@7846 | 194 hobpRGQkFhOOY2HZtrajMS2FGSgVFsNabePw3t47dva/84TWOvhzvv1nOfDZ |
rocky@7846 | 195 v147Z3dv3/8sFotnBp6fVFo7pmkKOx4j6kSxIw6mYxGJxqhvbCTV1GbG6hoi |
rocky@7846 | 196 geef037Y9NXNu7ufsYX5XU8HL31cho/twPErTjt/YiJ/neu6XVqHESEkAFJK |
rocky@7846 | 197 DNPENA0EAi0l0jCJxhLUNzTR1NFOR890Wju78CoF/43nnx3Z/MwTP9rd/84P |
rocky@7846 | 198 Pg7Hx3Jg2ZITvprL5a/xvKBZCD0JbRiYpg0CgiCgWq0iECitQYMONCqU1LyQ |
rocky@7846 | 199 fKZEMVtkzsIjrMXHruqqlGtXT58yv6u3/+1vaq39j8LykR048bgzv9bfP3BN |
rocky@7846 | 200 EARpKSVCCJxIhEKuSP9IHyDp7ughFotQq9UQgGXZFMtVhsdyWFaC2bNn09re |
rocky@7846 | 201 RrIxTVfPFJQK2Pb6K5Wx/b13Hzu36es337fOPVSej+TAGad++tyxsbFrPM9L |
rocky@7846 | 202 m6Y5Ce84jI9NUMjnWTB/AZ7vsWt7H+3tbUSjEYSAfL5I2XU57rjFmKbDzp1D |
rocky@7846 | 203 hEqRKpfJjo/QPqWDlo7OmFctX/Tm/tIQcN2hMh2yA5887dzD9/Xv+3k+X1hq |
rocky@7846 | 204 GIYWQgjbtshk8pRKRS5Yu4ZLv3gxCM3tP/s5d995L83NaZTSZCYy/P2VX+bC |
rocky@7846 | 205 tedR82r85Md3c9+vH6OxsZm6hgRSSppam6iUixTHR7OOJb7y9Iu/+8WhcB2y |
rocky@7846 | 206 A2MToxdWKu4SmExUIQSeFzIyMcypJ53Ild/8KjNnzgSgra2N7du289qrb6IF |
rocky@7846 | 207 HLvyaP7hqq8Tj8cBuOKKz7Nzx06efXYL060eVOhTqxaIxqNUvVoKrC9e9+3v |
rocky@7846 | 208 PvtP/3zNvoNxyUOBv+QLV8zzfP+sUClp2RZKKWGaJtlMBts0OX31ycycOZNs |
rocky@7846 | 209 NsfDDz3Mjh3b+KvPnAVCIIXk4ksuYvfu3dz2s9sYGBhg9uzZnHDCMXjVPGPD |
rocky@7846 | 210 g6igRj4zTiE7gR/4uK67bNOm5z59KGwHFXDZBZfJHdt3rQ4Vcw3D4P0pJ4Sg |
rocky@7846 | 211 UC6QTqeZO3cOAM889RS33nIrvb19xOIxWtuaaWltpqOjnV/ecw933X4H6x78 |
rocky@7846 | 212 DWEYMnXaNCxTUCpkgRAVBlTLZYLAo1QuRbO5wurrr7uh888WoCwr4XvBUqWU |
rocky@7846 | 213 LaWBCgKEEJN/aphcJSd/a60YHR7izde3QKiJRiIAjI2OsnjRIr70pcsRUuK6 |
rocky@7846 | 214 ZZxIDKU0WisQIIVAKU3oh4SBIgyDuZtffWPewfgOmgOxaCQdicXbSmWXMAh4 |
rocky@7846 | 215 f8PSSlOXqGNiYoR3d+7i9NNP5tiVK7lg7YUIrUkkE4yNjVAuVxkaHOTyKy4H |
rocky@7846 | 216 YGhwCMeJsHPnLqpBhZZUK0pp4A+DIqXA9/zWvj1756xYtGLjc288pw7Ed1AH |
rocky@7846 | 217 KsVSm5AyhRCEQQDvjX4QBjSmG/FDj/WPPs7gyDDpdJqvX3kll3/ly/xu41Nk |
rocky@7846 | 218 cxU8H9ate4xMNg9Ae0c7u/b08uD9D2IKSX1DA4EffMAv5KSrvh9almVPXbby |
rocky@7846 | 219 OOdP8R3Uga2usB0tYlIrFAqJAUAYhkQiDq2NHTz3xNPcdNPNnH/hJWgjxm8f |
rocky@7846 | 220 fpyf/vRhMJqxLJMNG1/isitu5EuXX0S1VuPWm/+VF196je7WThzHoFL5w7QU |
rocky@7846 | 221 QqDDEGmaWOlmZ/dlV/3Jdf5P7gNCCBYfueoCadk/9MrlplJ2HGFMbmBSgAZC |
rocky@7846 | 222 EWVP3whon6OOWUa6XrBrywsko5rmlkaEhHw+TyaXZ/b8JYyMa17e/DbSSNHS |
rocky@7846 | 223 ksagQsSZnApKgyHA90NCKWhtbfrNuccs+vKV//7D4Y8lYOPM7sM3lar/8Vii |
rocky@7846 | 224 /fiB+nZSmRG8oIY0LDxfkHUltmUwvSWk1RmiyRpm6QxYvADap7VhRECYBkbM |
rocky@7846 | 225 IpPLs39/loER6M92s2t/I1vfDekbkggpqItrTENjC8GodFC5UT4lS9nzOxuv |
rocky@7846 | 226 OmVkx08Z1B+aBwecQrN+8GN5g+mccWw4fnyxMsLt8TTCjlOnAvwQfCWY1uRz |
rocky@7846 | 227 2qIx1q7IMHeKCzaQtCDdCPE4xOJgOhCfTqvdxRxVhNoOKO6BsX7efMvinvUR |
rocky@7846 | 228 Hns+znjJxJSCipCMV2ustnzODYspNRacf8/M49b/Dez/ME7jO9/5zocKeONr |
rocky@7846 | 229 V9ZHciNre0J38aoYjGDwvCdwhEO+IDh5XpGfXNbHmtMyNDf5EAI1QCXBTIGR |
rocky@7846 | 230 AqMBZAqMFWCcBeJYqEjIbYNghNYOn1OOzbOi22XLjii7h6MMBRUWiQr/1qKY |
rocky@7846 | 231 Xi3weolIb3PPy3fnvB1nLz/y0B1Yrt2UW60sHqxVWVyv+J6Zo1wLeaQWwwtN |
rocky@7846 | 232 pjSVaO2pUZmAfX2SpmZNuk4jqkUYV+CVoZIA2wHnV2A9BaIBgiGUm2V8n2Ss |
rocky@7846 | 233 H7p6FI2tZeriLrkCLEpX+d+tkkW6yEvVkFCIWCIz2AIYTA7ToQmYV+8wYqPL |
rocky@7846 | 234 HrxS8VgpJritzuD6asCdyuGmDU0MjGvWLM2xuS9KqODcE0rMbA6IFIqIchGi |
rocky@7846 | 235 BtgmWD4YitCAqoIt2+M8+HgC2/bpfBtu2ZCkd5fgr6fUuHFqHVMrI+wczFM0 |
rocky@7846 | 236 BZ0xe7zlsLYd/+Mbl/4RPBwgicUZ3+DzQy8dsWri7Xtn+Pk5FdsGz2N5wiTW |
rocky@7846 | 237 0MrjocP/GjZ5etjEbKxgx2wKE1EWdExw6bEZjp/t0mKCE9VIBwITXGnQl7d4 |
rocky@7846 | 238 7OUod/w+xcBYBCtRICy5zDSTXL2wkQunxGB0H2/v2IdyoliG5hWd6L97zqkX |
rocky@7846 | 239 ZZo7nnz1jpv+CPaPBJx98tlsVHXN9ujgLStGd6y5nn4Oq7N4VdnEai6zHWhO |
rocky@7846 | 240 JqlYER6tOfxyzOJNT9OPxMubKFWlo61Cd4NLzNZIA7wQ8jXJjkEDt2jgCMlh |
rocky@7846 | 241 Ucms+gRn9rRw3ow49apCddcu+vpGqCbizI9J3spW+Uc9hVebpv5u+oxpX2wa |
rocky@7846 | 242 H9z7202/PYiAE8+K5Wr+9wfK1a/k80V5QW4PV9k5IimbXUYUy69S59VotU2c |
rocky@7846 | 243 WIQwGmevjLHVg9fKAdtygsFcSKnq4aMAjUQTEyYtKYd53fUs60wzv86hOxUh |
rocky@7846 | 244 YoSI3b0Ut/eSK/sEdTZT4xbjoyW+VWrgN61zaWlIqlZL3BqX4qrfPv1o+YAC |
rocky@7846 | 245 vvd3fy9e3jf+uULZ/Vkhl4vsyxYxqi5rivu4qFikLQW1BhOlQkyhiZuClCUx |
rocky@7846 | 246 EwmChgYCJ0ZNGJSlhYeJBrQ0kbaNFYkQq0sSTUYxPBdjcB9yZBA1nqWUd9FS |
rocky@7846 | 247 IU1QGdiTh/+I13NvtAsj4tDT3Ehdff24Y4jPzY57v/+X+//rA+j/K4n3FWvT |
rocky@7846 | 248 RTR6pXarkWImS6TiUjQtHptyBFNmdHDMOy9j7dpHZzvICFRDzYQOiRUKONUK |
rocky@7846 | 249 EdsmYprUWyYY5uT2akgmFxAJ+yUEAbhFqFTQfoiSingUVBb2D0NuThcPLZzH |
rocky@7846 | 250 w30ZpOdhl4sUTUG6rTXt2NbfeQbPMLlgA/+tmLvmR78WmWq4ViEWjA2N4Lou |
rocky@7846 | 251 hmGgcxmmzZrFshtuJH7XvfR++hxeV3HG8mAGIHyoVDSlkk+5VCYoFCCXgYkx |
rocky@7846 | 252 GB+DkREYGoShfhjaB6MDUM4DPgKFmYHsDnixBG+edRbtd9zHymu/Q0d7C2Eh |
rocky@7846 | 253 i2kYuKUShUxW2PHk8v3FyhlHdU79gPsDBzY/dNdMs77p3MzEhFnO5TFNgyAM |
rocky@7846 | 254 MYTBglmHc8ScqRhMRZ33GXY+v4mtuTL9hkmLpWiWimQIogie0oQWmIZGyPdG |
rocky@7846 | 255 6L1Kc7J4mhw/VYNRAUNtbeQ+eRqR089iySc+QWtHB/7AMF3pBra5NURdktAP |
rocky@7846 | 256 mBgZpbG1NW3EYqu7Tzz1EUB9IEAIwSknn72inMu1Z0dHESgM06RccYnGY3Qd |
rocky@7846 | 257 1o0N1BQkt7/LjEyeggMTOkYWRS0oo60IyahJKiiTrCms2iS3ECAl+BKqBuQd |
rocky@7846 | 258 h3L34aiFxyAWLsKZt5g506dTl24mZkwqra9L0NTSghaTfYdhmnjVKtmxcZlq |
rocky@7846 | 259 Sq+IlEpTgN4PBPzynnujd959/8piZsypuu57TbtEBQFOPEEimQQgOzBK6flX |
rocky@7846 | 260 meIHlFOSqKHpiYVE8po9dfUMn/e3iGVHUhsZJMjn0YGHkALsCNqJIOJJSLeQ |
rocky@7846 | 261 6DqMeHMz8YYUEdvk/YJfa40QgmgsQbK+HiEFSikcxyEMAkq5HFLSkncr3UdO |
rocky@7846 | 262 PaJ3856tkwLuvO0XTRP54qJqybWEnuyOgiB474WgpEADtYkRgtFxooCMmHiW |
rocky@7846 | 263 RVMkwC6ApzyYPZ8pqz+FHWh830OpECEEQhoYhoE0DAw5WfN9WAkQajAFhEoR |
rocky@7846 | 264 KoVEEvghlqWQhoFbLhP4nlBBkFShFoA2AbZu3RZ3Ik5aSkNIaeCHIVqDaVlU |
rocky@7846 | 265 Ky75XA4foOphVqpUgbgjsKISqSfzyai5OIUMCS/Asc3JKvQjhgoVSINCvsDE |
rocky@7846 | 266 +ARSSqLRCFJKtNYEgY9fqyGkIVx38nReArS0tmgpRKhUSLVWw7JM3d3duTka |
rocky@7846 | 267 i43l83n27NhJHrBjMUSpAkDU9EkZRUyzBhYopfFcl0B9aMlySFGtTR6LFvJ5 |
rocky@7846 | 268 hoaGkaYxMnVaz8/r6pNbqm5VawWmZRutrS3q1DNO/oOAJUsXZ+ob6kd830dI |
rocky@7846 | 269 Qaqh7oFjjj7q0mQy8QLAW5vfYKx/nMS0KRSXLCIAjJ0KBmswEcAohCUP0VCP |
rocky@7846 | 270 YX68E3svULx/UfDOu7sY7B+kPtWw+/wL11zT2t5yfSQa8Xzfx7JNunum9Hf3 |
rocky@7846 | 271 dOkPBJyx+pRsIpHYZJqml2pMPTlnzuxrb/zhd19v72hfX5dqUNvfeovNG58i |
rocky@7846 | 272 mkjgXH01+9acw2C6hXIgqZUhF0J24dHElxyFYRofGd4PFYWySyJmU6r6rF+/ |
rocky@7846 | 273 kUI+T3tH24tfuOTCvY+sf+C/2tpb/zMWjVQc23ol3Zzaff313wLea2jmzJ2l |
rocky@7846 | 274 7rt3Xb9SYV/3tMNu+dWvb38HoLdv/1Bf396F46Oj04r5IktXrqJn3jRGjjye |
rocky@7846 | 275 zKzpuEcsoHzUMWRPOhlr7SV0Hr2U6PtnRocQWmv8QFFyPYJQUB+zefR3T3P7 |
rocky@7846 | 276 f96BRr81a9bh169Zc/aQAN0/MPjS0ODgQCKRuP++B+7a9UEjprX+k8+Jp12y |
rocky@7846 | 277 PNGw8HVDdukr/+H7erRS1UNa680VrV/KK72lrPVurXVOa6201krpg4ZSWgeh |
rocky@7846 | 278 0uVKTY9mSnpwoqRdrfWW3cP61E9equOpxTtmLDxn9cHYtNYHF6C15vMrV32r |
rocky@7846 | 279 M9kVRJNz9T//4C49WvF1xtN693hF7xgt6/58VY8VqjpXrOqS6+uaF+gwDHUY |
rocky@7846 | 280 Kq3Ue0+odBAqXQsCXa76OpOv6IHRvB7JVXRFa72lL6PPPPdK3dFwmL74E0vu |
rocky@7846 | 281 1Hp/5M8W8OzVF6f2/7Djssrt9pM//1qy1har11iL9NXfv0v3Zcu6qLTeN5bT |
rocky@7846 | 282 7+4Z1dv7xvSeoYweHCvosWxZ50oVXSi5uliu6mK5poulqs6UqnosV9KDYznd |
rocky@7846 | 283 P5LTo2VXF7XWz28b1qvOvlpbpPT31pi6fCfv5n5i/ei1781beDABB2zq7z9+ |
rocky@7846 | 284 ppWKD321oWP8XxtXhD0LTkgY81KNvLl1iPvXPctwBroP76Grq5loJIrSiiAI |
rocky@7846 | 285 8IMALwjxfUXND6gGilotpOoH1IKQQIGQEiOapKoMNvx+K9d84zr2PnMHN36l |
rocky@7846 | 286 ia/941ysw2NN1WxhWXW/v3jTra88P++znx07UB59qAAhYPXUWxe01+29qXN+ |
rocky@7846 | 287 tMFefjw0LmPmIpfz5o2R2z/CA+s28dwLfdRkPXXNKZL1ddhWBGGYSMNECwMl |
rocky@7846 | 288 BAoJ0kQJiY9FICIUPdi2c5hf3LmOu274Np3F9dx5Q8Dqby6D5s9A3XlEYibu |
rocky@7846 | 289 tj1dxdGh7LVf2P3cOd9a/aEbzAEW7ZwMDOvoaD3t0a4Z4C+EkV0gekktzfLj |
rocky@7846 | 290 mwUXrQu49Vf3c9e1L7LhgVNYtupkjly2jI4paeojEhkqVOCBkAjbpuRDvuCx |
rocky@7846 | 291 v3cvr7/4AntefozGscf4p+NDPnuRgPkKhl+D0ILWz0HXp4jP2E/q3SePOL3h |
rocky@7846 | 292 liTcPPERBGwRlhPzHDvmiUqvw3A/ZPsny2HDAFOw/K80yxdq3nihnyffup2t |
rocky@7846 | 293 v7mPBzcuJtE5m2i8jki8oZRoaHBD3zcqhUyd8qtmUBzCyr1GT/gu5xwOx60F |
rocky@7846 | 294 e6EBEQP2BhCOgngIai+A3YWslDGtpoqVzB/w+PCAR4s/OfOc5nnpV27s6Rpe |
rocky@7846 | 295 07bAj8lmIYQwEYGEAFBistFyfciHVLIwtAfeeBtvQ6+Z35RJ3zoQhC85Imhc |
rocky@7846 | 296 YrtfOHtGbdlJ84i2zESmW4BmAQ0WaAmBBkujDdCEaDek8g7eQG9qcFdp6RVn |
rocky@7846 | 297 3bbh0Y8sAODahafUL52652+7WvJfaml125KJwDAdpGlIYShQocYvK7xCqP2a |
rocky@7846 | 298 DHMVxx3IxR4ZnjD+/cZNQy9ufu/dV7WI5hWL02vbG4OLWxpr0xNR37QbDOk0 |
rocky@7846 | 299 SoSYvCAJtcarKeXVzDAzYvkDQ5HH+7JTbrh4wyuvHBDwYALej58uX9jZPtVc |
rocky@7846 | 300 KU3vtLBWmG+HlWQ8Zlu+D+N5X1Rl/Yi2EhtG8/ZDFZre+fYTj/zRPe8Fq24Q |
rocky@7846 | 301 Xe59bXM6I6ukl/u0rI7Pa0zoSF19hFrNC92aqBFtGLSt+BP5jLXxV082vHN/ |
rocky@7846 | 302 YX35w3g+soD/l+P/AMNbZ955C9USAAAAAElFTkSuQmCC |
rocky@7846 | 303 ==== |
rocky@7846 | 304 ! |
Hans-G?nter@22838 | 305 } > $TMP_DIR/$PACKAGE-$VERSION/fs/usr/share/tencent/qq/qq.png |
rocky@7846 | 306 |
Hans-G?nter@22838 | 307 action "Creating the package $PACKAGE..." |
rocky@3550 | 308 # Pack |
rocky@3550 | 309 tazpkg pack $PACKAGE-$VERSION |
rocky@3550 | 310 |
Hans-G?nter@22838 | 311 # Remove package tree |
jozee@4993 | 312 rm -rf $PACKAGE-$VERSION |
jozee@4993 | 313 |
Hans-G?nter@22838 | 314 # === Install the SliTaz package === |
Hans-G?nter@22838 | 315 [ "$install" == "yes" ] && |
Hans-G?nter@22838 | 316 yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root="$root" |
rocky@3550 | 317 |
Hans-G?nter@22838 | 318 # === Cleanup === |
Hans-G?nter@22838 | 319 # Preserve package file, if requested |
Hans-G?nter@22838 | 320 [ "$keep" == "yes" ] && |
Hans-G?nter@22838 | 321 ( mv $PACKAGE-$VERSION.tazpkg $CUR_DIR && |
Hans-G?nter@22838 | 322 echo Saved $PACKAGE-$VERSION.tazpkg to $CUR_DIR ) |
Hans-G?nter@22838 | 323 |
Hans-G?nter@22838 | 324 # Remove temporary build directory |
rocky@3550 | 325 cd $CUR_DIR |
Hans-G?nter@22838 | 326 rm -rf $TMP_DIR |