contrib/snowball/Pkgfile

26 lines
682 B
Plaintext
Raw Normal View History

2019-06-11 23:45:49 +02:00
# Description: String processing language for creating stemming algorithms
# URL: http://snowballstem.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: git
name=snowball
version=git
release=1
source=(dynamiclib.patch)
git=(https://github.com/snowballstem/snowball.git)
build() {
git clone $git $name
cd $name
patch -Np1 -i ../dynamiclib.patch
make
install -d $PKG/usr/bin
install -t $PKG/usr/bin snowball stemwords
install -Dm644 {.,$PKG/usr}/include/libstemmer.h
install -D {.,$PKG/usr/lib}/libstemmer.so.0.0.0
ln -s libstemmer.so.0.0.0 $PKG/usr/lib/libstemmer.so.0
ln -s libstemmer.so.0 $PKG/usr/lib/libstemmer.so
}