upgpkg: librewolf-bin-1:143.0.3_1-2: add appstream data
This commit is contained in:
parent
292ef6a472
commit
33bf5f8789
4 changed files with 18 additions and 10 deletions
18
PKGBUILD
18
PKGBUILD
|
|
@ -9,7 +9,7 @@ pkgver=143.0.3_1
|
|||
_fixedfirefoxver="${pkgver%_*}" # Version of Firefox this LibreWolf version is based on, but the Firefox patch number is always included
|
||||
_librewolfver="${pkgver#*_}"
|
||||
_firefoxver="${_fixedfirefoxver%.0}" # Removes ".0" from the end. For "136.0.0" this will result in "136.0" but for "136.0.1" won't do anything.
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
|
||||
arch=(x86_64 aarch64)
|
||||
license=(MPL-2.0)
|
||||
|
|
@ -44,7 +44,8 @@ source=(
|
|||
default192x192.png
|
||||
librewolf.svg
|
||||
librewolf-symbolic.svg
|
||||
librewolf.desktop
|
||||
io.gitlab.librewolf-community.desktop
|
||||
"https://raw.githubusercontent.com/flathub/io.gitlab.librewolf-community/refs/heads/master/io.gitlab.librewolf-community.appdata.xml"
|
||||
)
|
||||
source_aarch64=(
|
||||
"${_uploadpath_aarch64}"
|
||||
|
|
@ -58,7 +59,8 @@ b2sums=('39dd42ed3eb94479fceab04147bd4a97b25e0499e6afc12d2e927fd36d93fe2b001f364
|
|||
'bc8d69df64681bd0e6d74bb791576371ce5853d4d4596781f2b7e6d8a9c04256758df45c284ecb450eec53cbf5038e38c09476d436ad4e03b7b5ce672714c67b'
|
||||
'c5ae312758c58b75ca5aca02b9baef2e1c5a7a45c30c27714882be62871b79016ac7f7dcee76c1f17f544e0fe0977224adddc9fbc78cdb5993533f1618c60773'
|
||||
'054348c3b31c398bb35140f77e752c624b78f7e6a0172798338ab88a88b70da10304c810d8457d95929c3ab3fe08a06eed54d56d192d122b695838e9f909023f'
|
||||
'0b4788bc1264a1e66acc66277a06f6fe39522f8da819fd741081f17f157a840ec3e4dc419e53fcb1ddd9de5efcb8d54843e4de1673d55989a39e0e805f863aef')
|
||||
'0b4788bc1264a1e66acc66277a06f6fe39522f8da819fd741081f17f157a840ec3e4dc419e53fcb1ddd9de5efcb8d54843e4de1673d55989a39e0e805f863aef'
|
||||
'f931d408dd228b91fd5ff000d757217d0c84036299ef08ae5c7126e42787e8b82f2ddda0523af6c9fd9f529c4b6b14964c68a51e0a91ee7adef3dea347c07f74')
|
||||
b2sums_x86_64=('5d7246382f2ac182bf105e660372f7941c26b70361bedb539d919245d2354773ff583b95a460579263363e0fda54ce504255069af99301e80b4ded26a7e10691'
|
||||
'SKIP')
|
||||
b2sums_aarch64=('009f409c69549d30861c0aaeb63cead1559bfdb20197bf6fbfdec6eaf03bcad5030db8b546036fd9d0f091a4dc07199e26507f2c40b9df1ae2e16a9a8073ad85'
|
||||
|
|
@ -139,8 +141,11 @@ END
|
|||
install -Dvm644 ${srcdir}/librewolf-symbolic.svg \
|
||||
"$pkgdir/usr/share/icons/hicolor/symbolic/apps/${pkgname//-bin/""}-symbolic.svg"
|
||||
|
||||
install -Dvm644 ${srcdir}/${pkgname//-bin/""}.desktop \
|
||||
"$pkgdir/usr/share/applications/${pkgname//-bin/""}.desktop"
|
||||
install -Dvm644 ${srcdir}/io.gitlab.librewolf-community.desktop \
|
||||
"$pkgdir/usr/share/applications/io.gitlab.librewolf-community.desktop"
|
||||
|
||||
install -Dvm644 ${srcdir}/io.gitlab.librewolf-community.appdata.xml \
|
||||
"$pkgdir/usr/share/metainfo/io.gitlab.librewolf-community.appdata.xml"
|
||||
|
||||
# Install a wrapper to avoid confusion about binary path
|
||||
install -Dvm755 /dev/stdin "$pkgdir/usr/bin/${pkgname//-bin/""}" <<END
|
||||
|
|
@ -150,7 +155,8 @@ END
|
|||
|
||||
# Replace duplicate binary with wrapper
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
|
||||
ln -srfv "$pkgdir/usr/bin/${pkgname//-bin/""}" "$pkgdir/usr/lib/${pkgname//-bin/""}/librewolf-bin"
|
||||
ln -srfv "$pkgdir/usr/bin/${pkgname//-bin/""}" \
|
||||
"$pkgdir/usr/lib/${pkgname//-bin/""}/librewolf-bin"
|
||||
# Use system certificates
|
||||
local nssckbi="$pkgdir/usr/lib/${pkgname//-bin/""}/libnssckbi.so"
|
||||
if [[ -e $nssckbi ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue