diff options
author | cameel | 2022-12-11 22:32:13 +0100 |
---|---|---|
committer | cameel | 2022-12-11 22:32:13 +0100 |
commit | f6d050397ba9f624331b308a9d893541d663a426 (patch) | |
tree | 63b485692f2969c01f72d94fe72d323f17d0f965 | |
parent | a28b5d6554836bee4c581901101ecd8c0803cd2e (diff) | |
download | aur-firefox-extension-yomichan.tar.gz |
Update PKGBUILD for new URL structure and bump version to 22.10.23.20 and
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 12 insertions, 13 deletions
@@ -1,13 +1,13 @@ pkgbase = firefox-extension-yomichan pkgdesc = Firefox extension that provides a Japanese dictionary with Anki integration - pkgver = 21.8.31.1 + pkgver = 22.10.23.0 pkgrel = 1 url = https://foosoft.net/projects/yomichan/ arch = any license = GPL3 depends = firefox - noextract = yomichan-21.8.31.1-an+fx.xpi - source = https://addons.cdn.mozilla.net/user-media/addons/789636/yomichan-21.8.31.1-an+fx.xpi - sha256sums = 92120d19defc3d767d680f2069db18711b942ee3b2568f1fab096a04a705996b + noextract = yomichan.xpi + source = yomichan.xpi::https://addons.mozilla.org/firefox/downloads/file/4026607 + sha256sums = d8a6118d3a55bdb24886b9e33c6d44742143574c4f678ca97ab118ec79701a1b pkgname = firefox-extension-yomichan @@ -1,24 +1,23 @@ # Maintainer: Kamil Śliwak <cameel2@gmail.com> _addon_name=yomichan -_addon_version=21.8.31.1 -_addon_id=789636 -_addon_filename="${_addon_name}-${_addon_version}-an+fx.xpi" +_addon_version=22.10.23.0 +_file_id=4026607 _gecko_id="alex@foosoft.net" -pkgname=firefox-extension-${_addon_name} -pkgver=${_addon_version} +pkgname="firefox-extension-${_addon_name}" +pkgver="${_addon_version}" pkgrel=1 pkgdesc="Firefox extension that provides a Japanese dictionary with Anki integration" arch=('any') url="https://foosoft.net/projects/yomichan/" license=('GPL3') depends=("firefox") -source=("https://addons.cdn.mozilla.net/user-media/addons/${_addon_id}/${_addon_filename}") -noextract=("${_addon_filename}") -sha256sums=('92120d19defc3d767d680f2069db18711b942ee3b2568f1fab096a04a705996b') +source=("yomichan.xpi::https://addons.mozilla.org/firefox/downloads/file/${_file_id}") +noextract=(yomichan.xpi) +sha256sums=('d8a6118d3a55bdb24886b9e33c6d44742143574c4f678ca97ab118ec79701a1b') package() { cd "${srcdir}" - install -Dm644 "${_addon_filename}" "${pkgdir}/usr/lib/firefox/browser/extensions/${_gecko_id}.xpi" + install -Dm644 yomichan.xpi "${pkgdir}/usr/lib/firefox/browser/extensions/${_gecko_id}.xpi" } |