summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2019-08-01 01:37:02 +0200
committerMuflone2019-08-01 01:37:02 +0200
commit54cfb4860d356dcb5fb16fba496fc87ca0e4024b (patch)
tree72045974f23bdbd162959f750017a44d0cba0386
downloadaur-54cfb4860d356dcb5fb16fba496fc87ca0e4024b.tar.gz
New package palemoon-i18n-sk 28.6.1-1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2e977b57f57
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = palemoon-i18n-sk
+ pkgdesc = Slovak language pack for Pale Moon browser
+ pkgver = 28.6.1
+ pkgrel = 1
+ url = https://addons.palemoon.org/language-packs/
+ arch = any
+ license = MPL
+ license = GPL
+ depends = palemoon-i18n-common
+ noextract = palemoon-i18n-sk-28.6.1.xpi
+ source = palemoon-i18n-sk-28.6.1.xpi::http://addons.palemoon.org/?component=download&version=latest&id=langpack-sk@palemoon.org
+ sha256sums = 52a47ebac31d64c36a26a4eea7d10eca1ffdcd3efceee7819d75773050624a71
+
+pkgname = palemoon-i18n-sk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b98ae2415f6
--- /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='sk'
+pkgname=palemoon-i18n-sk
+pkgver=28.6.1
+pkgrel=1
+pkgdesc="Slovak 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=('52a47ebac31d64c36a26a4eea7d10eca1ffdcd3efceee7819d75773050624a71')
+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"
+}
+