net-analyzer/nutty: use xdg instead of xdg-utils; update metadata

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2021-01-18 13:41:31 +01:00
parent a358be5b2a
commit d0a973d8e9
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 23 additions and 21 deletions

View File

@ -1,7 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream> <upstream>
<remote-id type="github">babluboy/nutty</remote-id> <remote-id type="github">babluboy/nutty</remote-id>
</upstream> </upstream>
<longdescription>
A simple application made for elementary OS to provide essential information on network related aspects.
The information presented in as the following tabs.
</longdescription>
</pkgmetadata> </pkgmetadata>

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
inherit gnome2-utils meson vala xdg-utils inherit gnome2-utils meson vala xdg
DESCRIPTION="A simple application to provide essential information on network related aspects" DESCRIPTION="A simple application to provide essential information on network related aspects"
HOMEPAGE="https://github.com/babluboy/nutty" HOMEPAGE="https://github.com/babluboy/nutty"
@ -38,13 +38,10 @@ RDEPEND="
sys-apps/pciutils sys-apps/pciutils
" "
DOCS=( DOCS=( AUTHORS README.md )
AUTHORS
README.md
)
src_prepare() { src_prepare() {
xdg_environment_reset xdg_src_prepare
vala_src_prepare vala_src_prepare
default default
} }
@ -62,11 +59,11 @@ pkg_preinst() {
} }
pkg_postinst() { pkg_postinst() {
xdg_icon_cache_update xdg_pkg_preinst
gnome2_schemas_update gnome2_schemas_update
} }
pkg_postrm() { pkg_postrm() {
xdg_icon_cache_update xdg_pkg_postrm
gnome2_schemas_update gnome2_schemas_update
} }

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
inherit gnome2-utils meson vala xdg-utils inherit gnome2-utils meson vala xdg
DESCRIPTION="A simple application to provide essential information on network related aspects" DESCRIPTION="A simple application to provide essential information on network related aspects"
HOMEPAGE="https://github.com/babluboy/nutty" HOMEPAGE="https://github.com/babluboy/nutty"
@ -38,13 +38,10 @@ RDEPEND="
sys-apps/pciutils sys-apps/pciutils
" "
DOCS=( DOCS=( AUTHORS README.md )
AUTHORS
README.md
)
src_prepare() { src_prepare() {
xdg_environment_reset xdg_src_prepare
vala_src_prepare vala_src_prepare
default default
} }
@ -62,11 +59,11 @@ pkg_preinst() {
} }
pkg_postinst() { pkg_postinst() {
xdg_icon_cache_update xdg_pkg_preinst
gnome2_schemas_update gnome2_schemas_update
} }
pkg_postrm() { pkg_postrm() {
xdg_icon_cache_update xdg_pkg_postrm
gnome2_schemas_update gnome2_schemas_update
} }