aur/PKGBUILD
2025-09-13 14:33:52 +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=144.0a1
pkgver=144.0a1.20250913.092312
depends=("firefox-nightly")
_language="Marathi"
_language_short=mr
_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=('17d555a9faa676ca28e4e00c589affa555eb1653c46fb5ad22bb393962194799')
package() {
install -Dm644 "${_pkgname_base}-${_language_short}-${pkgver}.xpi" \
"$pkgdir/usr/lib/firefox-nightly/distribution/extensions/langpack-${_language_short}@firefox.mozilla.org.xpi"
}