Files
guru/net-p2p/fopnu/fopnu-1.68.ebuild
Paul Zander d2bbb6ac03 */*: QA fixes for prebuilt packages
Define SRC_URI only for supported archs.
Explicitly dekeyword them on unsupported arches.
Replace := from DEPENDS with the actual slot as it has no effect since we do not
rebuild against the new slot.

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-11-18 17:59:01 +01:00

41 lines
750 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="P2P file sharing system"
HOMEPAGE="https://www.fopnu.com"
SRC_URI="
amd64? ( https://download2.fopnu.com/download/${P}-1.x86_64.manualinstall.tar.gz -> ${P}.tar.gz )
"
S="${WORKDIR}/${P}-1.x86_64.manualinstall"
LICENSE="Fopnu"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror strip"
RDEPEND="
dev-libs/dbus-glib
dev-libs/glib
sys-apps/dbus
sys-libs/glibc
virtual/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/pango
"
DEPEND="${RDEPEND}"
src_install() {
sed -i "/^Categories/ s/Internet;//" fopnu.desktop
dobin fopnu
domenu fopnu.desktop
doicon -s 48 fopnu.png
}