~muirrum/gentoo-repo

1f7b38044a8b789b485a834bf742fb3fef28281a — Cara Salter 1 year, 2 months ago 805c076
app-misc/patchmanager: New package

Signed-off-by: Cara Salter <cara@devcara.com>
A app-misc/patchmanager/Manifest => app-misc/patchmanager/Manifest +2 -0
@@ 0,0 1,2 @@
DIST PATCH%20MANAGER_launcher_installer_2-2-31295.deb 38297836 BLAKE2B 4e64f6f38ba3771872f1129980fb03f9895f8e53abd924147f50d0798cc05a79c7dfec9b40a7fa389448eab1c7509c6c6442679780fcfaba42a00be075d282b2 SHA512 c965c2bae874d9e32c886619509f265f06e6b619c7401a83924ced0c693165f7969bc6c1994800f0387ce8d286a339f79cec65d37c23b68d858c9078aa40c095
EBUILD patchmanager-2.2.31295.ebuild 934 BLAKE2B 16d35c8eaa18929edcdd9b69452f3fdb6a89fa3fc61ab5f22448073fc4e041838a423d1d03e2224bb731c39367b10c60c5b16e6e1a3a5b5f0cd7ebe8449b4ad3 SHA512 d83a0e5eb7928ace8e9282cd1631dc4a713fcfed5b0925253a2825faa3c975e7aa916f0614b2f4276328cff6203d20c8ad3379fe5c5917fb56566a75dd7497cf

A app-misc/patchmanager/patchmanager-2.2.31295.ebuild => app-misc/patchmanager/patchmanager-2.2.31295.ebuild +52 -0
@@ 0,0 1,52 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop xdg

DESCRIPTION="Comprehensive cable and asset management software"
HOMEPAGE="https://patchmanager-prod.wpi.edu"
SRC_URI="https://patchmanager.wpi.edu/launchers/PATCH%20MANAGER_launcher_installer_2-2-31295.deb -> patchmanager.deb"

LICENSE="custom"
SLOT="0"
KEYWORDS="~amd64"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

src_unpack() {
	unpack ${A}
	tar xvf data.tar.xz || die

	mkdir -p "${S}" || die
}


src_prepare() {
	true
}
src_prepare() {
	elog "Am I even getting called?"
	eapply_user
	true
}


src_install() {
	cp -r "${WORKDIR}/opt" "${D}/" || die
	cp -r "${WORKDIR}/usr" "${D}/" || die

	install -Dm0755 "${WORKDIR}/opt/PATCH MANAGER/PATCHMANAGER" "${D}/usr/bin/patchmanager" || die
	make_desktop_entry ${PN} ${PN} ${PN} "GTK;GNOME;"
}

pkg_postinst() {
	xdg_icon_cache_update
}

pkg_prerm() {
	xdg_icon_cache_update
}

A metadata/md5-cache/app-misc/patchmanager-2.2.31295 => metadata/md5-cache/app-misc/patchmanager-2.2.31295 +9 -0
@@ 0,0 1,9 @@
DEFINED_PHASES=install prepare unpack
DESCRIPTION=Comprehensive cable and asset management software
EAPI=8
HOMEPAGE=https://patchmanager-prod.wpi.edu
KEYWORDS=~amd64
LICENSE=custom
SLOT=0
SRC_URI=https://patchmanager.wpi.edu/launchers/PATCH%20MANAGER_launcher_installer_2-2-31295.deb -> patchmanager.deb
_md5_=852376390400229e7c17032fdcf6ccfc