aur/PKGBUILD
2026-01-19 15:47:44 +00:00

33 lines
1.1 KiB
Bash

# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Swift Geek <swiftgeek ɐt gmail døt com>
# Maintainer: Sving1024 <sving1024@outlook.com>
pkgrel=1
arch=('any')
license=('MPL' 'GPL' 'LGPL')
url="https://www.mozilla.org/firefox/"
_url=https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/linux-x86_64/xpi
_version=149.0a1
pkgver=149.0a1.20260119.093305
depends=("firefox-nightly")
_language="Romansh"
_language_short=rm
_pkgname_base=firefox-nightly-i18n
pkgname=${_pkgname_base}-${_language_short,,}
pkgdesc="${_language} language pack for Firefox Nightly"
groups=('firefox-nightly-i18n')
source=("${_pkgname_base}-${_language_short}-${pkgver}.xpi::$_url/firefox-${_version}.${_language_short}.langpack.xpi")
# Don't extract anything
noextract=("${_pkgname_base}-${_language_short}-${pkgver}.xpi")
sha256sums=('227946df7d0dfaa581f41bd112df03ed5971a12466109f79faa7f32012049209')
package() {
install -Dm644 "${_pkgname_base}-${_language_short}-${pkgver}.xpi" \
"$pkgdir/usr/lib/firefox-nightly/distribution/extensions/langpack-${_language_short}@firefox.mozilla.org.xpi"
}