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

Generated by cgit