diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template index 761afb0983d..1833a26d737 100644 --- a/srcpkgs/hydrus/template +++ b/srcpkgs/hydrus/template @@ -1,7 +1,7 @@ # Template file for 'hydrus' pkgname=hydrus version=573 -revision=1 +revision=2 pycompile_dirs="usr/lib/hydrus" hostmakedepends="python3" depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml @@ -37,9 +37,10 @@ do_install() { ln -sf ../lib/hydrus/hydrus_client.py ${DESTDIR}/usr/bin/hydrus-client ln -sf ../lib/hydrus/hydrus_server.py ${DESTDIR}/usr/bin/hydrus-server + rm -f ${DESTDIR}/usr/lib/hydrus/static/io.github.hydrusnetwork.hydrus.desktop vmkdir usr/share/applications - ln -Tsf ../../lib/hydrus/static/hydrus.desktop \ - ${DESTDIR}/usr/share/applications/hydrus.desktop + vinstall static/io.github.hydrusnetwork.hydrus.desktop 644 \ + usr/share/applications vlicense COPYING }