You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
743 B
24 lines
743 B
import 'vcs/git'
|
|
|
|
name=uMatrix
|
|
version=1.0.0
|
|
update_url="https://github.com/gorhill/$name/releases"
|
|
update_names="/archive/$version.tar.gz"
|
|
|
|
dlextract "https://github.com/gorhill/$name/archive/$version/$name-$version.tar.gz" \
|
|
'04761e1f6e41b41a67a6a64cb434084c'
|
|
( name=uAssets
|
|
vcs_git -V "https://github.com/uBlockOrigin/uAssets"
|
|
)
|
|
_
|
|
|
|
cd "$name-$version"
|
|
|
|
# Update the assets, as that's something not done in uMatrix for some reason
|
|
rm -f assets/checksums.txt
|
|
cp -Ta ../uAssets/thirdparties assets/thirdparties
|
|
|
|
tools/make-firefox.sh all
|
|
install -Dm644 "dist/build/$name.firefox.xpi" "$dir_install/$dir_prefix/$dir_lib/palemoon/browser/extensions/$name@raymondhill.net.xpi"
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|