summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ea76d908719
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = firefox-extension-reddit-enhancement-suite
+ pkgdesc = Suite of modules that enhances your Reddit browsing experience
+ pkgver = 5.22.4
+ pkgrel = 1
+ url = https://github.com/honestbleeps/Reddit-Enhancement-Suite
+ arch = any
+ groups = firefox-addons
+ license = GPL3
+ makedepends = yarn
+ depends = firefox
+ source = Reddit-Enhancement-Suite-5.22.4.tar.gz::https://github.com/honestbleeps/Reddit-Enhancement-Suite/archive/refs/tags/v5.22.4.tar.gz
+ sha256sums = 6091983f1cb4860d87acef7679bfb4edff87af48de99032381f2a5211d553191
+
+pkgname = firefox-extension-reddit-enhancement-suite
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6db1b0a5c69
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Kamil ƚliwak <cameel2/gmail/com>
+
+_gecko_id="jid1-xUfzOsOFlzSOXg@jetpack"
+_name=Reddit-Enhancement-Suite
+pkgname=firefox-extension-reddit-enhancement-suite
+pkgver=5.22.4
+pkgrel=1
+pkgdesc="Suite of modules that enhances your Reddit browsing experience"
+arch=(any)
+url="https://github.com/honestbleeps/${_name}"
+license=(GPL3)
+groups=(firefox-addons)
+depends=(firefox)
+makedepends=(yarn)
+source=("${_name}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('6091983f1cb4860d87acef7679bfb4edff87af48de99032381f2a5211d553191')
+
+
+build() {
+ cd "${_name}-${pkgver}"
+ yarn install
+ yarn build --env browsers=firefox
+}
+
+package() {
+ cd "${_name}-${pkgver}/"
+ install -D --mode 644 -- "dist/zip/firefox.zip" "${pkgdir}/usr/lib/firefox/browser/extensions/${_gecko_id}.xpi"
+}