New package: uget-integrator-1.0.0

This commit is contained in:
RunningDroid 2019-10-08 00:32:46 -04:00 committed by John Zimmermann
parent eac8398ec9
commit 511529fdb4
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# Template file for 'uget-integrator'
pkgname=uget-integrator
version=1.0.0
revision=1
depends="python3 uget"
short_desc="Native messaging script to allow uGet to integrate with a browser"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/ugetdm/uget-integrator"
distfiles="https://github.com/ugetdm/uget-integrator/archive/v${version}.tar.gz"
checksum=bbc85c32d94e2b6a21977c559f6e49cea9613028713df89e91327a23fef19fa9
do_install() {
vbin bin/uget-integrator
# setup chrome integration
vinstall conf/com.ugetdm.chrome.json 0644 etc/opt/chrome/native-messaging-hosts/
# setup chromium integration
vinstall conf/com.ugetdm.chrome.json 0644 etc/chromium/native-messaging-hosts/
# setup firefox integration
vinstall conf/com.ugetdm.firefox.json 0644 usr/lib/mozilla/native-messaging-hosts/
}