Files
guru/gnome-extra/junction/junction-1.5.0.ebuild
Randall T. Vasquez 7fc350d6be gnome-extra/junction: optimize ebuilds
Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
2022-08-21 17:26:38 -07:00

27 lines
564 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Application/browser chooser"
HOMEPAGE="https://apps.gnome.org/app/re.sonny.Junction/"
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/sonnyp/Junction.git"
inherit git-r3
else
SRC_URI="https://github.com/sonnyp/Junction/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${P/j/J}"
fi
LICENSE="GPL-3+"
SLOT="0"
src_configure() {
meson_src_configure \
--datadir=/usr/share
}