From c168bfa07fa8724268f62a6ff40ddd715590d796 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Thu, 7 Sep 2023 17:13:45 +0200 Subject: [PATCH] snowball: fixed shared library symlink --- snowball/.footprint | 6 +++--- snowball/.signature | 6 +++--- snowball/Pkgfile | 9 +++++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/snowball/.footprint b/snowball/.footprint index b39e053e0..ef7a1b3ed 100644 --- a/snowball/.footprint +++ b/snowball/.footprint @@ -6,6 +6,6 @@ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/libstemmer.h drwxr-xr-x root/root usr/lib/ -rwxr-xr-x root/root usr/lib/libstemmer.a -lrwxrwxrwx root/root usr/lib/libstemmer.so.2.2.0 -> libstemmer.so.2.2.0 -lrwxrwxrwx root/root usr/lib/libstemmer.so.2 -> libstemmer.so.2 -lrwxrwxrwx root/root usr/lib/libstemmer.so -> libstemmer.so.0 +lrwxrwxrwx root/root usr/lib/libstemmer.so -> libstemmer.so.2.2.0 +lrwxrwxrwx root/root usr/lib/libstemmer.so.2 -> libstemmer.so.2.2.0 +-rwxr-xr-x root/root usr/lib/libstemmer.so.2.2.0 diff --git a/snowball/.signature b/snowball/.signature index 7f1017a78..64b2dbcfb 100644 --- a/snowball/.signature +++ b/snowball/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF36kJYjZcGK/+i3KGEatJR0kntJfvVFg+lGyxNGMYvUxnuRqG6HO185Brr/fGpcsp3zcdVYFVIor0Hnq2o4T7Gg4= -SHA256 (Pkgfile) = 811fa7861f6186b69a9eac52efc59551899fd16279f608c1e5ea17927683b510 -SHA256 (.footprint) = e892b0aa1e9d0a199f3792973758430d073e3c1b268a199361e35f287430e0f8 +RWSagIOpLGJF3x3pU25EtRq1uI2tlL0OZN5EIYdKuaW+rfuDAFGV8go4k4oNu22xOyzdp/vmoGOngKFSqmYnBGR9OFWJL7T70gc= +SHA256 (Pkgfile) = c742619a8dbf1ca4f5af61a622c25d8b0edb504ccfcbcb6cda91fa61a96c9278 +SHA256 (.footprint) = 411fc7134d27077bed260367e133afac3947502478502857de38ffe4ab097fa5 SHA256 (snowball-2.2.0.tar.gz) = 425cdb5fba13a01db59a1713780f0662e984204f402d3dae1525bda9e6d30f1a SHA256 (dynamiclib.patch) = 0434f6fc2cc599f457d2aa353bc7793415915a243a07322505051e969d7778c2 diff --git a/snowball/Pkgfile b/snowball/Pkgfile index ee8553069..78f519634 100644 --- a/snowball/Pkgfile +++ b/snowball/Pkgfile @@ -1,11 +1,10 @@ # Description: String processing language for creating stemming algorithms # URL: https://snowballstem.org/ # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: name=snowball version=2.2.0 -release=2 +release=3 source=(https://github.com/snowballstem/snowball/archive/v$version/$name-$version.tar.gz dynamiclib.patch) @@ -19,6 +18,8 @@ build() { install -t $PKG/usr/bin snowball stemwords install -Dm644 {.,$PKG/usr}/include/libstemmer.h install libstemmer.a $PKG/usr/lib - ln -s libstemmer.so.* $PKG/usr/lib/ - ln -s libstemmer.so.0 $PKG/usr/lib/libstemmer.so + # dynamiclib.patch already puts into $PWD the shared libs + # libstemmer.so.$version and two symlinks to it, so just copy them + # (without dereferencing) + cp -P libstemmer.so* $PKG/usr/lib }