linamh/dev-util/xpipe/xpipe-1.7.16.ebuild

54 lines
1.1 KiB
Bash
Raw Normal View History

2024-01-24 22:46:12 +01:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="Your entire server infrastructure at your fingertips"
HOMEPAGE="https://xpipe.io/"
2024-01-24 23:08:23 +01:00
#SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-installer-linux-x86_64.deb -> ${PN}-installer-linux-${PV}-x86_64.deb"
SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-portable-linux-x86_64.tar.gz -> ${PN}-portable-linux-${PV}-x86_64.tar.gz"
2024-01-24 22:46:12 +01:00
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror splitdebug test"
#IUSE="swiftshader system-ffmpeg"
IUSE=""
QA_PREBUILT="*"
RDEPEND="
"
S="${WORKDIR}"
src_install() {
2024-03-12 20:41:02 +01:00
mv xpipe-${PV} xpipe
dodir /opt
cp -a xpipe "${ED}"/opt || die
2024-01-24 23:08:23 +01:00
2024-03-12 20:41:02 +01:00
dosym ../../opt/xpipe/cli/bin/xpipe usr/bin/xpipe
2024-01-24 23:08:23 +01:00
2024-03-12 20:41:02 +01:00
dosym ../../opt/xpipe/cli/xpipe_completion etc/bash_completion.d/xpipe
2024-01-24 22:46:12 +01:00
2024-01-24 23:08:23 +01:00
domenu ${FILESDIR}/${PN}.desktop
2024-01-24 22:46:12 +01:00
2024-03-12 20:41:02 +01:00
doman xpipe/cli/man/*
2024-01-24 22:46:12 +01:00
}
2024-01-24 22:50:03 +01:00
pkg_preinst() {
xdg_pkg_preinst
}
pkg_postinst() {
xdg_pkg_postinst
}
pkg_postrm() {
xdg_pkg_postrm
}