summaryrefslogtreecommitdiff
path: root/palemoon-stackrpms-ublock-origin/debian/Makefile
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-07-06 02:55:00 +0000
committerB Stack <bgstack15@gmail.com>2019-07-06 02:55:00 +0000
commit8fb24e3c9bcfc2a197422af6ea1c27ee483127e1 (patch)
tree0cf0e8c44cd004a4067f0036e4fcae03813dd152 /palemoon-stackrpms-ublock-origin/debian/Makefile
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentWIP: porting dpkgs to obs (diff)
downloadstackrpms-8fb24e3c9bcfc2a197422af6ea1c27ee483127e1.tar.gz
stackrpms-8fb24e3c9bcfc2a197422af6ea1c27ee483127e1.tar.bz2
stackrpms-8fb24e3c9bcfc2a197422af6ea1c27ee483127e1.zip
Merge branch 'obs' into 'master'
Add main OBS support for dpkgs See merge request bgstack15/stackrpms!69
Diffstat (limited to 'palemoon-stackrpms-ublock-origin/debian/Makefile')
-rw-r--r--palemoon-stackrpms-ublock-origin/debian/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/palemoon-stackrpms-ublock-origin/debian/Makefile b/palemoon-stackrpms-ublock-origin/debian/Makefile
deleted file mode 100644
index 3531a3e..0000000
--- a/palemoon-stackrpms-ublock-origin/debian/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# Makefile for palemoon-ublock-origin for devuan
-SOURCE0=uBlock0.firefox-legacy.xpi
-MOZ_EXTENSIONS=/usr/lib/palemoon/browser/extensions
-
-# this needs to be overwritten by the debian/rules file.
-DESTDIR=/tmp
-
-install:
- unzip ${SOURCE0} install.rdf
- mkdir -p $(DESTDIR)${MOZ_EXTENSIONS}
- newfilename="$$( grep 'em:id' install.rdf 2>/dev/null | head -n1 | sed -r -e 's/^.*<em:id>//;' -e 's/<\/em:id>.*$$//;' ).xpi" ; \
- test -z "$${newfilename}" && newfilename="$$( basename $${SOURCE0} )" ; \
- install -Dp -m0644 ${SOURCE0} $(DESTDIR)${MOZ_EXTENSIONS}/$${newfilename}
- rm -f install.rdf || :
-
-uninstall:
- rm -f $(DESTDIR)${MOZ_EXTENSIONS}/uBlock0@raymondhill.net.xpi
bgstack15