summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcameel2018-01-27 13:21:55 +0100
committercameel2018-01-27 13:21:55 +0100
commit6c603d1aa44bd4ebc7d4ab9e327b00f1ad2c8596 (patch)
tree12dbcd051e1e9f09bcf5c809662a2cc46f1edd27
downloadaur-6c603d1aa44bd4ebc7d4ab9e327b00f1ad2c8596.tar.gz
PKGBUILD for version 1.5.1
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e634d87b176
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = firefox-extension-yomichan
+ pkgdesc = Firefox extension that provides a Japanese dictionary with Anki integration
+ pkgver = 1.5.1
+ pkgrel = 1
+ url = https://foosoft.net/projects/yomichan/
+ arch = any
+ license = GPL3
+ depends = firefox
+ noextract = yomichan-1.5.1-an+fx-linux.xpi
+ source = https://addons.cdn.mozilla.net/user-media/addons/789636/yomichan-1.5.1-an+fx-linux.xpi
+ sha256sums = 189dd8a48e02db372936f78325ba3ff6df7737f521e04ca5e5750c8ad1252165
+
+pkgname = firefox-extension-yomichan
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bf7e91c3e96
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Kamil ƚliwak <cameel2@gmail.com>
+
+_addon_name=yomichan
+_addon_version=1.5.1
+_addon_id=789636
+_addon_filename="${_addon_name}-${_addon_version}-an+fx-linux.xpi"
+_gecko_id="alex@foosoft.net"
+
+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=('189dd8a48e02db372936f78325ba3ff6df7737f521e04ca5e5750c8ad1252165')
+
+package() {
+ cd "${srcdir}"
+ install -Dm644 "${_addon_filename}" "${pkgdir}/usr/lib/firefox/browser/extensions/${_gecko_id}.xpi"
+}