v4.11.4-2

This commit is contained in:
Andrey Kolchenko 2025-12-03 13:33:25 +03:00
parent 8d083cf6ad
commit 9971f29fc6
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = rutoken-plugin
pkgdesc = The Rutoken plugin is necessary for connecting USB devices with the browser, it allows you to identify devices and work with them.
pkgver = 4.11.4
pkgrel = 1
pkgrel = 2
url = https://www.rutoken.ru/support/download/rutoken-plugin/
arch = i686
arch = x86_64

View file

@ -2,7 +2,7 @@
pkgname=rutoken-plugin
pkgver=4.11.4
pkgrel=1
pkgrel=2
pkgdesc="The Rutoken plugin is necessary for connecting USB devices with the browser, it allows you to identify devices and work with them."
arch=('i686' 'x86_64')
url="https://www.rutoken.ru/support/download/rutoken-plugin/"
@ -19,8 +19,6 @@ sha256sums_x86_64=('01876a9a51e30476a40b92061130e388921e51aab90824c17001d0e6cb6e
package() {
cp -r "${srcdir}/usr/lib64/mozilla/native-messaging-hosts" "${srcdir}/usr/lib/mozilla/"
rm -rf "${srcdir}/usr/lib64"
rm -f "${srcdir}/opt/aktivco/rutokenplugin/librtpkcs11ecp.so"
ln -s /opt/aktivco/rutokenecp/x86_64/librtpkcs11ecp.so "${srcdir}/opt/aktivco/rutokenplugin/librtpkcs11ecp.so"
find "${srcdir}" -type d | sed "s#^${srcdir}#${pkgdir}#g" | tail -n +2 | xargs install -d
eval $(find ${srcdir} -type f -exec bash -c 'echo install \"{}\" \"@$(dirname {})\"\;' \; | sed "s#@${srcdir}#${pkgdir}#g")