🔒 Repository is read-only – file editing is disabled.

recipes/utils/snowball/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: snowball
pkgver: '3.1.1'
pkgrel: '1'
pkgdesc: String processing language for creating stemming algorithms
url: 'https://snowballstem.org/'
arch: x86_64
license:
- BSD
depends: []
makedepends:
- perl
source:
- 'https://github.com/snowballstem/snowball/archive/refs/tags/v${pkgver}.tar.gz'
- Make-libstemmer-a-shared-library.patch
sha256sums:
- d8714aa91ed4333654708472a7a98b529c867a8f99b05c5e66febf4ca72c44c7
- SKIP
build: |
  cd ${pkgname}-${pkgver}
    patch -Np1 -i ../Make-libstemmer-a-shared-library.patch
  make
  install -d ${PKGDIR}/usr/{bin,lib}
   install -t ${PKGDIR}/usr/bin snowball stemwords
   install -Dt ${PKGDIR}/usr/share/licenses/${pkgname} -m644 COPYING
   install -Dm644 {.,${PKGDIR}/usr}/include/libstemmer.h

   install -Dm644 libstemmer.so.0 ${PKGDIR}/usr/lib/libstemmer.so.0.0.0
   ln -s libstemmer.so.0.0.0 ${PKGDIR}/usr/lib/libstemmer.so.0
   ln -s libstemmer.so.0 ${PKGDIR}/usr/lib/libstemmer.so
package: |
  true