summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Behan2021-04-23 00:18:47 +0100
committerConnor Behan2021-04-23 00:18:47 +0100
commit4e9e595a3512579ea3ae3c6ad1c1f79cfe73c894 (patch)
treeb2b0552cde90ded852cdeffc52f278f52c30b8ef
downloadaur-mozilla-common.tar.gz
Revive for AUR purposes
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
-rwxr-xr-xmozilla-common.csh1
-rw-r--r--mozilla-common.install3
-rwxr-xr-xmozilla-common.sh1
5 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c20233e76df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = mozilla-common
+ pkgdesc = Helper for forks of the Mozilla codebase which still support NPAPI
+ pkgver = 1.4
+ pkgrel = 6
+ url = https://www.mozilla.org/
+ install = mozilla-common.install
+ arch = any
+ license = GPL
+ source = mozilla-common.sh
+ source = mozilla-common.csh
+ md5sums = 39451f6fe87d3cb224e140322c55eb27
+ md5sums = 924887e41bd96db37029f479befe40cf
+
+pkgname = mozilla-common
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..90b65eac4ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Connor Behan <connor.behan@gmail.com>
+# Contributor: dale <dale@archlinux.org>
+
+pkgname=mozilla-common
+pkgver=1.4
+pkgrel=6
+pkgdesc="Helper for forks of the Mozilla codebase which still support NPAPI"
+arch=('any')
+license=('GPL')
+url="https://www.mozilla.org/"
+install=mozilla-common.install
+source=('mozilla-common.sh'
+ 'mozilla-common.csh')
+md5sums=('39451f6fe87d3cb224e140322c55eb27'
+ '924887e41bd96db37029f479befe40cf')
+
+package() {
+ install -d "${pkgdir}/etc/profile.d/"
+ install -m755 mozilla-common.{,c}sh "${pkgdir}/etc/profile.d/"
+}
diff --git a/mozilla-common.csh b/mozilla-common.csh
new file mode 100755
index 00000000000..09e49c7830e
--- /dev/null
+++ b/mozilla-common.csh
@@ -0,0 +1 @@
+setenv MOZ_PLUGIN_PATH "/usr/lib/mozilla/plugins"
diff --git a/mozilla-common.install b/mozilla-common.install
new file mode 100644
index 00000000000..d5db81ecc91
--- /dev/null
+++ b/mozilla-common.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo "relogin or source /etc/profile.d/mozilla-common.sh"
+}
diff --git a/mozilla-common.sh b/mozilla-common.sh
new file mode 100755
index 00000000000..132b5731e80
--- /dev/null
+++ b/mozilla-common.sh
@@ -0,0 +1 @@
+export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"