mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
27 lines
564 B
Bash
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
|
|
}
|