blob: ee85530698e8db8865812e23924a21b61c5c1d7c (
plain)
1 # Description: String processing language for creating stemming algorithms
2 # URL: https://snowballstem.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=snowball
7 version=2.2.0
8 release=2
9 source=(https://github.com/snowballstem/snowball/archive/v$version/$name-$version.tar.gz
10 dynamiclib.patch)
11
12 build() {
13 cd $name-$version
14 patch -Np1 -i ../dynamiclib.patch
15
16 make
17
18 install -d $PKG/usr/{bin,lib}
19 install -t $PKG/usr/bin snowball stemwords
20 install -Dm644 {.,$PKG/usr}/include/libstemmer.h
21 install libstemmer.a $PKG/usr/lib
22 ln -s libstemmer.so.* $PKG/usr/lib/
23 ln -s libstemmer.so.0 $PKG/usr/lib/libstemmer.so
24 }
|