summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..10d970ad76d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Thomas Baechler <thomas@archlinux.org>
+# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
+# Contributor: Michal Hybner <dta081@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+
+_locale='tl'
+pkgname=palemoon-i18n-tl
+pkgver=28.0.0
+pkgrel=1
+pkgdesc="Filipino (Tagalog) language pack for Pale Moon browser"
+arch=('any')
+url="https://addons.palemoon.org/language-packs/"
+license=('MPL' 'GPL')
+source=("${pkgname}-${pkgver}.xpi"::"http://addons.palemoon.org/?component=download&version=latest&id=langpack-${_locale}@palemoon.org")
+sha256sums=('a90e0cb2e6b932a24afd014c485e53dd2c8ebc9e735f5e0112f28b9f0ba3b422')
+depends=('palemoon-i18n-common')
+noextract=("${pkgname}-${pkgver}.xpi")
+DLAGENTS=("http::/usr/bin/curl --user-agent 'PaleMoon' --output %o %u"
+ "${DLAGENTS[@]}")
+
+package() {
+ install -m 755 -d "${pkgdir}/usr/lib/palemoon/browser/extensions"
+ install -m 644 "${pkgname}-${pkgver}.xpi" \
+ "${pkgdir}/usr/lib/palemoon/browser/extensions/langpack-${_locale}@palemoon.org.xpi"
+}
+