name=pentadactyl version=1.2pre-pm-3 update_url="https://github.com/madand/$name-pm/releases" dlextract "https://github.com/madand/$name-pm/archive/$name-$version.tar.gz" \ '9ffbd57120c5dd2b5b84208f5d6a0571' extrafile "$name-$version-disable-deprecated.patch" header_end cd "$name-pm-$name-$version" patch -p0 -i "../$name-$version-disable-deprecated.patch" make pentadactyl.xpi install -Dm644 "downloads/$name-$version.xpi" "$dir_install/$dir_prefix/$dir_libdir/palemoon/browser/extensions/pentadactyl@addons.palemoon.org.xpi" # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: