summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMcModder2018-08-25 20:08:42 +0300
committerMcModder2018-08-25 20:08:42 +0300
commitb45ef2539e38beae68933c020dab757c594e2e91 (patch)
treeead3ab93bd1563e72c1a304d99d08cfbd0122b70
parent34434438b8568376b23bacc8b4a536f43180a416 (diff)
downloadaur-b45ef2539e38beae68933c020dab757c594e2e91.tar.gz
get $_version from mozilla.org automatically
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3305db2c6c84..915c28e5a46f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = firefox-nightly-ru
pkgdesc = Web browser from mozilla.org, nightly build, russian version
- pkgver = 62.0a1.20180625
+ pkgver = 63.0a1.20180825
pkgrel = 1
url = http://nightly.mozilla.org/
install = firefox-nightly-ru.install
@@ -23,11 +23,11 @@ pkgbase = firefox-nightly-ru
source = firefox-nightly.desktop
source = firefox-nightly-ru.install
source = vendor.js
- source = 20180625-firefox-62.0a1.ru.linux-x86_64.tar.bz2::https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-62.0a1.ru.linux-x86_64.tar.bz2
+ source = 20180825-firefox-63.0a1.ru.linux-x86_64.tar.bz2::https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-63.0a1.ru.linux-x86_64.tar.bz2
sha512sums = 02bd8c8c717e6796fb1772f51c1bfd78ff3ca7c5355c08b9568dc36cb72b8b84330d20522653eedda12bdec1517cd4074a4bc5d51a8667880121e946b85c11ec
sha512sums = bc940986f5acb02706714d5dcbc32e17b167190dc9a30c7d63bf5317a45a1a0ff9da5ea302b9c8efc32acf7b75d2dec1420f542cb0ba08c3e3d59273d18baa96
sha512sums = bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010
- sha512sums = e88717a5ceb1911ccc5381f035d7e70657ef078d984d9789a4e7d5f43ed9319988e5c95b36b7cf4da405473e88ebc2345fe8a4847ec93cc1ad5eb646b5e2e95b
+ sha512sums = 6e8f7782070572b4d10a4044a929f10440c9c6c1e1a149813d55af2ee0b9d34ec5edf4e562e15a0bd0f0c549cbc0299742b7ef6d4849042212f9c1c239d6f55e
pkgname = firefox-nightly-ru
diff --git a/PKGBUILD b/PKGBUILD
index 17749c23f663..94c8fae1ebb9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,9 @@
pkgname=firefox-nightly-ru
pkgdesc='Web browser from mozilla.org, nightly build, russian version'
url='http://nightly.mozilla.org/'
-_version=62.0a1
-pkgver=62.0a1.20180625
+#_version=62.0a1
+_version=$(curl -qL https://product-details.mozilla.org/1.0/firefox_versions.json | grep FIREFOX_NIGHTLY | cut -d'"' -f4)
+pkgver=63.0a1.20180825
pkgrel=1
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
@@ -37,4 +38,4 @@ package() {
install -m644 "${srcdir}/firefox-nightly.desktop" "${pkgdir}/usr/share/applications/"
install -m644 "${srcdir}/firefox/browser/chrome/icons/default/default128.png" "${pkgdir}/usr/share/pixmaps/firefox-nightly-icon.png"
install -Dm644 "${srcdir}/vendor.js" "${pkgdir}/opt/firefox-nightly-ru/browser/defaults/preferences/vendor.js"
-} \ No newline at end of file
+}