x11-misc/devour - 12 (gentoobr)

Search

Package Information

Description:
X11 window swallower
Homepage:
https://github.com/salman-abedin/devour

Ebuild Details

Version EAPI Keywords Slot
12 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="X11 window swallower"
HOMEPAGE="https://github.com/salman-abedin/devour"

if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/salman-abedin/${PN}"
else
	SRC_URI="https://github.com/salman-abedin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-2"
SLOT="0"

RDEPEND="
	x11-libs/libX11
"
DEPEND="${RDEPEND}"

src_prepare() {
	default
	# Let portage strip the binary
	sed -i 's/-s //' Makefile || die
}

src_install () {
	emake DESTDIR="${D}" BIN_DIR="${D}/usr/bin" install
}

Dependencies

DEPEND

	x11-libs/libX11

RDEPEND

	x11-libs/libX11

Manifest for 12

Type File Size Source URLs
DIST devour-12.tar.gz 4387928 bytes https://github.com/salman-abedin/devour/archive/12.tar.gz