diff options
author | B Stack <bgstack15@gmail.com> | 2019-02-14 15:33:22 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-02-14 15:33:22 +0000 |
commit | 132ef05acd54a8ddff800101c9e61ddc57304a6e (patch) | |
tree | fb95954405761b3ad091397c1c8741be8ed1255b /palemoon-ublock-origin | |
parent | pm ublock origin 1.16.4.8 (diff) | |
parent | pm-ublock dpkg for devuan (diff) | |
download | stackrpms-132ef05acd54a8ddff800101c9e61ddc57304a6e.tar.gz stackrpms-132ef05acd54a8ddff800101c9e61ddc57304a6e.tar.bz2 stackrpms-132ef05acd54a8ddff800101c9e61ddc57304a6e.zip |
pm-ublock dpkg for devuan
See merge request bgstack15/stackrpms!36
Diffstat (limited to 'palemoon-ublock-origin')
-rw-r--r-- | palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs | 0 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/Makefile | 17 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/README.Debian | 9 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/changelog | 5 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/compat | 1 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/control | 15 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/copyright | 8 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/debhelper-build-stamp | 1 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/files | 2 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars | 2 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/patches/series | 1 | ||||
-rwxr-xr-x | palemoon-ublock-origin/debian/rules | 18 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/source/format | 1 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/source/local-options | 2 | ||||
-rw-r--r-- | palemoon-ublock-origin/debian/watch | 2 |
15 files changed, 84 insertions, 0 deletions
diff --git a/palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs b/palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/palemoon-ublock-origin/debian/.debhelper/generated/palemoon-ublock-origin/installed-by-dh_installdocs diff --git a/palemoon-ublock-origin/debian/Makefile b/palemoon-ublock-origin/debian/Makefile new file mode 100644 index 0000000..3531a3e --- /dev/null +++ b/palemoon-ublock-origin/debian/Makefile @@ -0,0 +1,17 @@ +# 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 diff --git a/palemoon-ublock-origin/debian/README.Debian b/palemoon-ublock-origin/debian/README.Debian new file mode 100644 index 0000000..3d345f5 --- /dev/null +++ b/palemoon-ublock-origin/debian/README.Debian @@ -0,0 +1,9 @@ +palemoon-ublock-origin for Devuan + +Initial release of palemoon-ublock-origin for devuan. +Build orig tarball to resemble: +$ tar -ztf palemoon-ublock-origin_1.16.4.8.orig.tar.gz +palemoon-ublock-origin/ +palemoon-ublock-origin/uBlock0.firefox-legacy.xpi + + -- B Stack <bgstack15@gmail.com> Wed, 13 Feb 2019 17:38:58 -0500 diff --git a/palemoon-ublock-origin/debian/changelog b/palemoon-ublock-origin/debian/changelog new file mode 100644 index 0000000..dc2a54d --- /dev/null +++ b/palemoon-ublock-origin/debian/changelog @@ -0,0 +1,5 @@ +palemoon-ublock-origin (1.16.4.8-1devuan) manual; urgency=low + + * Initial release for devuan + + -- B Stack <bgstack15@gmail.com> Wed, 13 Feb 2019 17:38:58 -0500 diff --git a/palemoon-ublock-origin/debian/compat b/palemoon-ublock-origin/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/palemoon-ublock-origin/debian/compat @@ -0,0 +1 @@ +11 diff --git a/palemoon-ublock-origin/debian/control b/palemoon-ublock-origin/debian/control new file mode 100644 index 0000000..a58a276 --- /dev/null +++ b/palemoon-ublock-origin/debian/control @@ -0,0 +1,15 @@ +Source: palemoon-ublock-origin +Section: web +Priority: optional +Maintainer: B Stack <bgstack15@gmail.com> +Build-Depends: debhelper (>=11~), + unzip, + make +Standards-Version: 4.1.4 +Homepage: https://github.com/gorhill/uBlock/releases + +Package: palemoon-ublock-origin +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: An efficient blocker for Chromium and Firefox. Fast and lean. diff --git a/palemoon-ublock-origin/debian/copyright b/palemoon-ublock-origin/debian/copyright new file mode 100644 index 0000000..bb755b9 --- /dev/null +++ b/palemoon-ublock-origin/debian/copyright @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: palemoon-ublock +Source: https://github.com/gorhill/uBlock/releases/ +uBlock0.firefox-legacy.xpi GPLv3 + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/palemoon-ublock-origin/debian/debhelper-build-stamp b/palemoon-ublock-origin/debian/debhelper-build-stamp new file mode 100644 index 0000000..cdc3502 --- /dev/null +++ b/palemoon-ublock-origin/debian/debhelper-build-stamp @@ -0,0 +1 @@ +palemoon-ublock-origin diff --git a/palemoon-ublock-origin/debian/files b/palemoon-ublock-origin/debian/files new file mode 100644 index 0000000..b0dc4d6 --- /dev/null +++ b/palemoon-ublock-origin/debian/files @@ -0,0 +1,2 @@ +palemoon-ublock-origin_1.16.4.8-1devuan_all.deb web optional +palemoon-ublock-origin_1.16.4.8-1devuan_amd64.buildinfo web optional diff --git a/palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars b/palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/palemoon-ublock-origin/debian/palemoon-ublock-origin.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= diff --git a/palemoon-ublock-origin/debian/patches/series b/palemoon-ublock-origin/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/palemoon-ublock-origin/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/palemoon-ublock-origin/debian/rules b/palemoon-ublock-origin/debian/rules new file mode 100755 index 0000000..cc4c963 --- /dev/null +++ b/palemoon-ublock-origin/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export NAME=palemoon-ublock-origin +export MOZ_EXTENSIONS=/usr/lib/palemoon/browser/extensions +export SOURCE0=uBlock0.firefox-legacy.xpi + +%: + dh $@ + +override_dh_auto_install: + make -e -f debian/Makefile install -- DESTDIR=debian/${NAME} + +#override_dh_auto_clean: +# rm -rf debian/usr diff --git a/palemoon-ublock-origin/debian/source/format b/palemoon-ublock-origin/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/palemoon-ublock-origin/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/palemoon-ublock-origin/debian/source/local-options b/palemoon-ublock-origin/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/palemoon-ublock-origin/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/palemoon-ublock-origin/debian/watch b/palemoon-ublock-origin/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/palemoon-ublock-origin/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 |