forked from msys2/MSYS2-packages
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Maintainer: Alexey Pavlov <[email protected]> | ||
|
||
pkgname=aspell6-en | ||
pkgver=7.1 | ||
_pkg_subver=0 | ||
pkgrel=1 | ||
pkgdesc="Aspell English dictionaries" | ||
arch=('i686' 'x86_64') | ||
url="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" | ||
license=('custom') | ||
groups=() | ||
makedepends=('aspell-devel') | ||
depends=('aspell>=0.60') | ||
provides=('aspell-en') | ||
options=() | ||
source=("http://ftp.gnu.org/gnu/aspell/dict/en/$pkgname-$pkgver-${_pkg_subver}.tar.bz2"{,.sig}) | ||
sha256sums=('ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a' | ||
'SKIP') | ||
|
||
build() { | ||
cd "$srcdir/$pkgname-$pkgver-${_pkg_subver}" | ||
./configure | ||
make | ||
} | ||
|
||
package() { | ||
cd "$srcdir/$pkgname-$pkgver-${_pkg_subver}" | ||
make DESTDIR="$pkgdir/" install | ||
|
||
install -Dm644 Copyright $pkgdir/usr/share/licenses/aspell-en/Copyright | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Maintainer: Alexey Pavlov <[email protected]> | ||
|
||
pkgname=("aspell" "aspell-devel") | ||
pkgver=0.60.6.1 | ||
pkgrel=1 | ||
pkgdesc=" a Free and Open Source spell checker (libraries)" | ||
arch=('i686' 'x86_64') | ||
url="http://aspell.net/" | ||
license=('LGPL') | ||
groups=('libraries') | ||
makedepends=('gcc' 'gettext-devel' 'libiconv-devel' 'ncurses-devel') | ||
options=() | ||
source=("http://ftp.gnu.org/gnu/aspell/$pkgname-$pkgver.tar.gz"{,.sig} | ||
"msys-platform.patch") | ||
sha256sums=('f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1' | ||
'SKIP' | ||
'ed9a09ee29c031b979b76a9146c60fadd8c591b072f09c1a29fd640be0bbca8a') | ||
|
||
prepare() { | ||
cd "$srcdir/$pkgname-$pkgver" | ||
patch -p1 -i ${srcdir}/msys-platform.patch | ||
autoreconf -ivf | ||
} | ||
|
||
build() { | ||
cd "$srcdir/$pkgname-$pkgver" | ||
./configure --prefix=/usr --build=${CHOST} --enable-static | ||
make | ||
make DESTDIR="$srcdir/dest" install | ||
} | ||
|
||
check() { | ||
cd "$srcdir/$pkgname-$pkgver" | ||
make -k check | ||
} | ||
|
||
package_aspell() { | ||
depends=("gcc-libs" "gettext" "libiconv" "ncurses") | ||
|
||
mkdir -p $pkgdir/usr/bin | ||
cp -rf $srcdir/dest/usr/bin $pkgdir/usr/ | ||
|
||
mkdir -p $pkgdir/usr/lib/aspell-0.60 | ||
cp -rf $srcdir/dest/usr/lib/aspell-0.60 $pkgdir/usr/lib/ | ||
|
||
mkdir -p $pkgdir/usr/share | ||
cp -rf $srcdir/dest/usr/share $pkgdir/usr/ | ||
} | ||
|
||
package_aspell-devel() { | ||
pkgdesc="Aspell headers and libraries (development)" | ||
groups=('development') | ||
depends=("aspell=${pkgver}" "gettext-devel" "libiconv-devel" "ncurses-devel") | ||
|
||
mkdir -p $pkgdir/usr/lib | ||
cp -rf $srcdir/dest/usr/include $pkgdir/usr/ | ||
cp -f $srcdir/dest/usr/lib/*.a $pkgdir/usr/lib | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- aspell-0.60.6.1/config.sub.orig 2011-07-03 06:53:17.000000000 +0900 | ||
+++ aspell-0.60.6.1/config.sub 2014-09-19 12:57:57.357086900 +0900 | ||
@@ -1293,7 +1293,7 @@ | ||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | ||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | ||
| -chorusos* | -chorusrdb* | -cegcc* \ | ||
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | ||
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | ||
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | ||
| -uxpv* | -beos* | -mpeix* | -udk* \ | ||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |