diff options
Diffstat (limited to 'source/l/aspell-dict')
65 files changed, 115 insertions, 8 deletions
diff --git a/source/l/aspell-dict/aspell-dict.SlackBuild b/source/l/aspell-dict/aspell-dict.SlackBuild index 4d9cb2f1..f2333eb5 100755 --- a/source/l/aspell-dict/aspell-dict.SlackBuild +++ b/source/l/aspell-dict/aspell-dict.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,19 +25,35 @@ CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-aspell-dict -BUILD=${BUILD:-4} +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$(uname -m)" in + i?86) ARCH=i586 ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; + esac + export ARCH +fi +cd src for file in aspell*bz2 ; do NAME=$(echo $file | cut -f 1-2 -d -)-$(echo $file | cut -f 3- -d - | rev | cut -b9- | rev | tr '[\-]' '[_]') + if [ -r $CWD/build/$(basename $file | cut -f 1,2 -d -) ]; then + BUILD="$(cat $CWD/build/$(basename $file | cut -f 1,2 -d -))" + else + BUILD=1 + fi rm -rf $PKG mkdir -p $TMP $PKG cd $TMP - tar xjf $CWD/$file + rm -rf $(basename $file .tar.bz2) + tar xjf $CWD/src/$file cd $(basename $file .tar.bz2) chown -R root:root . - ./configure - make - make install DESTDIR=$PKG + ./configure || exit 1 + make || exit 1 + make install DESTDIR=$PKG || exit 1 # Use a uniform package name. NAME=$(echo $NAME | sed 's/aspell5/aspell/' | sed 's/aspell6/aspell/') mkdir -p $PKG/usr/doc/${NAME} @@ -59,5 +75,5 @@ for file in aspell*bz2 ; do echo "${SLACKDESC}:" >> $PKG/install/slack-desc echo "${SLACKDESC}:" >> $PKG/install/slack-desc cd $PKG - makepkg -l y -c n $TMP/${NAME}-noarch-$BUILD.txz -done + makepkg -l y -c n $TMP/${NAME}-$ARCH-$BUILD.txz +done || exit 1 diff --git a/source/l/aspell-dict/build/aspell-af b/source/l/aspell-dict/build/aspell-af new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-af @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-br b/source/l/aspell-dict/build/aspell-br new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-br @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-cy b/source/l/aspell-dict/build/aspell-cy new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-cy @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-el b/source/l/aspell-dict/build/aspell-el new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-el @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-fr b/source/l/aspell-dict/build/aspell-fr new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-fr @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-gv b/source/l/aspell-dict/build/aspell-gv new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-gv @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-hr b/source/l/aspell-dict/build/aspell-hr new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-hr @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-ia b/source/l/aspell-dict/build/aspell-ia new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-ia @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-is b/source/l/aspell-dict/build/aspell-is new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-is @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-mi b/source/l/aspell-dict/build/aspell-mi new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-mi @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-mk b/source/l/aspell-dict/build/aspell-mk new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-mk @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-ms b/source/l/aspell-dict/build/aspell-ms new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-ms @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-mt b/source/l/aspell-dict/build/aspell-mt new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-mt @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-nb b/source/l/aspell-dict/build/aspell-nb new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-nb @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-nl b/source/l/aspell-dict/build/aspell-nl new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-nl @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-nn b/source/l/aspell-dict/build/aspell-nn new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-nn @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-no b/source/l/aspell-dict/build/aspell-no new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-no @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-pt b/source/l/aspell-dict/build/aspell-pt new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-pt @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-rw b/source/l/aspell-dict/build/aspell-rw new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-rw @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-sl b/source/l/aspell-dict/build/aspell-sl new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-sl @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-sv b/source/l/aspell-dict/build/aspell-sv new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-sv @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-sw b/source/l/aspell-dict/build/aspell-sw new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-sw @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-tr b/source/l/aspell-dict/build/aspell-tr new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-tr @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-wa b/source/l/aspell-dict/build/aspell-wa new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-wa @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell-zu b/source/l/aspell-dict/build/aspell-zu new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell-zu @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-be b/source/l/aspell-dict/build/aspell5-be new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-be @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-da b/source/l/aspell-dict/build/aspell5-da new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-da @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-fo b/source/l/aspell-dict/build/aspell5-fo new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-fo @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-gd b/source/l/aspell-dict/build/aspell5-gd new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-gd @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-hil b/source/l/aspell-dict/build/aspell5-hil new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-hil @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-id b/source/l/aspell-dict/build/aspell5-id new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-id @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-mg b/source/l/aspell-dict/build/aspell5-mg new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-mg @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-ny b/source/l/aspell-dict/build/aspell5-ny new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-ny @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-sc b/source/l/aspell-dict/build/aspell5-sc new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-sc @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-tet b/source/l/aspell-dict/build/aspell5-tet new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-tet @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-tl b/source/l/aspell-dict/build/aspell5-tl new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-tl @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell5-tn b/source/l/aspell-dict/build/aspell5-tn new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell5-tn @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-am b/source/l/aspell-dict/build/aspell6-am new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-am @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-az b/source/l/aspell-dict/build/aspell6-az new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-az @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-bn b/source/l/aspell-dict/build/aspell6-bn new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-bn @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-ca b/source/l/aspell-dict/build/aspell6-ca new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-ca @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-cs b/source/l/aspell-dict/build/aspell6-cs new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-cs @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-csb b/source/l/aspell-dict/build/aspell6-csb new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-csb @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-de b/source/l/aspell-dict/build/aspell6-de new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-de @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-et b/source/l/aspell-dict/build/aspell6-et new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-et @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-fi b/source/l/aspell-dict/build/aspell6-fi new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-fi @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-he b/source/l/aspell-dict/build/aspell6-he new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-he @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-hu b/source/l/aspell-dict/build/aspell6-hu new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-hu @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-it b/source/l/aspell-dict/build/aspell6-it new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-it @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-la b/source/l/aspell-dict/build/aspell6-la new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-la @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-lv b/source/l/aspell-dict/build/aspell6-lv new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-lv @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-mr b/source/l/aspell-dict/build/aspell6-mr new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-mr @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-nds b/source/l/aspell-dict/build/aspell6-nds new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-nds @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-or b/source/l/aspell-dict/build/aspell6-or new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-or @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-pa b/source/l/aspell-dict/build/aspell6-pa new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-pa @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-qu b/source/l/aspell-dict/build/aspell6-qu new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-qu @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-ru b/source/l/aspell-dict/build/aspell6-ru new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-ru @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-sr b/source/l/aspell-dict/build/aspell6-sr new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-sr @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-ta b/source/l/aspell-dict/build/aspell6-ta new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-ta @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-te b/source/l/aspell-dict/build/aspell6-te new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-te @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-vi b/source/l/aspell-dict/build/aspell6-vi new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-vi @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/aspell6-yi b/source/l/aspell-dict/build/aspell6-yi new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/source/l/aspell-dict/build/aspell6-yi @@ -0,0 +1 @@ +5 diff --git a/source/l/aspell-dict/build/increment-all-dict.sh b/source/l/aspell-dict/build/increment-all-dict.sh new file mode 100755 index 00000000..99861dc6 --- /dev/null +++ b/source/l/aspell-dict/build/increment-all-dict.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# A script to increment build numbers of all the dictionaries. +# +# Any that are newly added should not have a build file in +# here (or it should contain "1"). The usual method is to run this +# script and then remove the build files for any new driver versions. + +for DICTSRC in ../src/* ; do + DICTBASENAME=$(basename $DICTSRC | cut -f 1,2 -d -) + ./increment.sh $DICTBASENAME +done + diff --git a/source/l/aspell-dict/build/increment.sh b/source/l/aspell-dict/build/increment.sh new file mode 100755 index 00000000..eff1356f --- /dev/null +++ b/source/l/aspell-dict/build/increment.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# A script to increment build numbers. +# Call it with the list of the build numbers to increase by one: +# +# ./increment.sh aspell6-pt_BR aspell6-qu +# +# If a build file does not exist, it will be created with a value of 2. + +for build in $* ; do + if [ ! -r $build ]; then + echo "Creating $build with value 2" + echo 2 > $build + else + echo "Incrementing $build $(cat $build) -> $(expr $(cat $build) + 1)" + echo $(expr $(cat $build) + 1) > $build + fi +done |