Files
sravan-overlay/sys-apps/isd-bin/isd-bin-0.3.0.ebuild
Sravan Balaji 0319fed55b Update isd-bin to 0.3.0
- Get icon from repo
- Add desktop file
2025-01-26 14:58:34 -05:00

39 lines
820 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="isd (interactive systemd) - a better way to work with systemd units"
HOMEPAGE="https://isd-project.github.io/isd"
SRC_URI="
https://github.com/isd-project/isd/releases/download/v${PV}/isd.AppImage -> ${P}.AppImage
https://github.com/isd-project/isd/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
RDEPEND="
sys-fs/fuse:0
"
S="${WORKDIR}/isd-${PV}"
QA_PREBUILT="*"
src_install() {
cd ${WORKDIR}
cp ${DISTDIR}/${P}.AppImage isd || die
dobin isd
cd ${S}/assets
insinto /usr/share/icons/hicolor/1024x1024/apps
doins isd.png
# Add version to desktop file
insinto /usr/share/applications
doins ${FILESDIR}/isd.desktop
}