37 lines
712 B
Bash
37 lines
712 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit unpacker xdg
|
|
|
|
DESCRIPTION="Your entire server infrastructure at your fingertips"
|
|
HOMEPAGE="https://xpipe.io/"
|
|
SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-installer-linux-x86_64.deb -> ${PN}-installer-linux-${PV}-x86_64.deb"
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="-* ~amd64"
|
|
RESTRICT="bindist mirror splitdebug strip test"
|
|
|
|
QA_PREBUILT="*"
|
|
|
|
src_install() {
|
|
cp -a opt usr "${ED}"/ || die
|
|
|
|
dosym ../../opt/xpipe/bin/xpipe usr/bin/xpipe
|
|
}
|
|
|
|
pkg_preinst() {
|
|
xdg_pkg_preinst
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_pkg_postinst
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_pkg_postrm
|
|
}
|