hydrus: fix desktop file

This commit is contained in:
Đoàn Trần Công Danh 2024-05-05 10:30:54 +07:00
parent 858b9e9427
commit 9602fe5954

View File

@ -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
}