You are not logged in.
alt-aspell-pl is now (since March 2004) used for the official aspell-pl releases but this package is more recent than the official one. Below you can find pkgbuilds for both versions (remember to always recompile this package when aspell version changes because the dirs are different). Use whichever version you like but alt-aspell-pl is recommended as it's more fresh (I know that aspell-pl pkgbuild was previously posted in the forums but I changed it a little and I'm including it in this thread to make it more complete). Also I had to use sed to repair alt-aspell-pl configure script because without this it will not recognize data dirs properly).
alt-aspell-pl PKGBUILD
pkgname=alt-aspell-pl
pkgver=20040921
pkgrel=1
pkgdesc="Alternative (more recent) Polish dictionary for aspell"
depends=('aspell')
conflicts=('aspell-pl')
provides=('aspell-pl')
url="http://www.kurnik.pl/slownik/"
source=(http://www.kurnik.pl/slownik/ort/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3f2f342b20f4b404f19b061488fb13a8')
build() {
cd $startdir/src/${pkgname}-${pkgver}
sed -i "s/ASPELL = $ASPELL/ASPELL = /usr/bin/$ASPELL/"
$startdir/src/${pkgname}-${pkgver}/configure
sed -i "s/WORD_LIST_COMPRESS = $WORD_LIST_COMPRESS/WORD_LIST_COMPRESS = /usr/bin/$WORD_LIST_COMPRESS/"
$startdir/src/${pkgname}-${pkgver}/configure
sed -i "s/dictdir=.*$/dictdir=`$ASPELL dump config dict-dir`/"
$startdir/src/${pkgname}-${pkgver}/configure
sed -i "s/datadir=.*$/datadir=`$ASPELL dump config data-dir`/"
$startdir/src/${pkgname}-${pkgver}/configure
./configure
make || return 1
make DESTDIR=$startdir/pkg install
}
aspell-pl PKGBUILD (the official release)
pkgname=aspell-pl
pkgver=0.51
pkgrel=1
pkgdesc="Polish dictionary for aspell"
depends=('aspell')
url="http://www.kurnik.pl/dictionary/"
source=(http://ftp.gnu.org/gnu/aspell/dict/pl/${pkgname}-${pkgver}-0.tar.bz2)
md5sums=('5435be1c9c39326a02e2798d8b4d257b')
build() {
cd $startdir/src/${pkgname}-${pkgver}-0
./configure
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline
┌─(ROOT@194-4:pts/2)───────────────────────────────────────────────────────────────────────────(/var/abs/local/aspell-pl)─┐
└─(12:47:#)── makepkg ──(śro,wrz22)─┘
==> Making package: alt-aspell-pl (śro wrz 22 12:48:02 CEST 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of alt-aspell-pl-20040922.tar.bz2
==> Validating source files with MD5sums
alt-aspell-pl-20040922.tar.bz2 ... Passed
==> Extracting Sources...
==> tar --use-compress-program=bzip2 -xf alt-aspell-pl-20040922.tar.bz2
==> Starting build()...
sed: can't read : Nie ma takiego pliku ani katalogu
Finding Dictionary file location ...
Finding Data file location ...
sed: can't read : Nie ma takiego pliku ani katalogu
Finding Dictionary file location ...
Finding Data file location ...
sed: can't read : Nie ma takiego pliku ani katalogu
Finding Dictionary file location ...
Finding Data file location ...
sed: can't read : Nie ma takiego pliku ani katalogu
Finding Dictionary file location ...
Finding Data file location ...
Finding Dictionary file location ...
Finding Data file location ...
It includes bug that I told you in private message yesterday.
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline
Errrr. But there was no alt-aspell-pl-20040922.tar.bz2 yesterday :-) I'm 100% sure this pkgbuild (and sed fixes) worked for alt-aspell-pl-20040921.tar.bz2
I'm reviewing the sources for the new package but without my arch box I can't test the pkgbuild. I'll do a full upgrade when I get back home.
Ok. I reviewed the configure script from the new package and I think it's is the same as in yesterday's version. Just change the pkgversion in my pkgbuild to current and please check for additional spaces just before and after the "" at the end of all sed lines after you paste it into your favourite editor. I suspect you have an additional space which is treated as filename by sed and then it can't find the file ("sed: can't read : Nie ma takiego pliku ani katalogu"). Next it treats second sed line as you would just run configure and that's why you can see "find" so many times.
To fix this you could also put each sed command in one line instead of spliting them to into 2 lines like this:
sed -i "s/ASPELL = $ASPELL/ASPELL = /usr/bin/$ASPELL/" $startdir/src/${pkgname}-${pkgver}/configure
or shorter
sed -i "s/ASPELL = $ASPELL/ASPELL = /usr/bin/$ASPELL/" ./configure
Sorry for the inconvenience but it happens from time to time when you copy/paste pkgbuilds to/from the bbs.
Offline
Ok, it was caused by additional spaces. I deleted them. It's ok. Thx.
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline