mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
net-wireless/geteduroam: use S instead of wierd move logic
Suggested-By: David Roman <stkw0@disroot.org> Signed-off-by: AshyPinguin <pinguinlars1105+gentoo@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ HOMEPAGE="https://github.com/geteduroam/linux-app https://get.eduroam.org/"
|
||||
SRC_URI="https://github.com/geteduroam/linux-app/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
# pkgcheck complains about this but this isn't from upstream
|
||||
SRC_URI+=" https://codeberg.org/AshyPinguin/vendor-tarballs/releases/download/${P}/${PN}-vendor.tar.xz -> ${P}-vendor.tar.xz" # upstream doesn't bundle their vendor tarbal in their releases
|
||||
S="${WORKDIR}/linux-app-${PV}"
|
||||
|
||||
# BSD-3 is the license of the project rest are depend.
|
||||
LICENSE="MIT Apache-2.0 BSD-2 BSD GPL-2"
|
||||
@@ -21,14 +22,6 @@ DEPEND="libnotify? ( x11-libs/libnotify )
|
||||
net-misc/networkmanager"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
mv "linux-app-${PV}" "${P}" || die
|
||||
unpack "${P}-vendor.tar.xz"
|
||||
mkdir "${P}/vendor" || die
|
||||
mv "linux-app-${PV}/vendor" "${P}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build -o geteduroam-cli ./cmd/geteduroam-cli
|
||||
use gui && ego build -o geteduroam-gui ./cmd/geteduroam-gui
|
||||
|
||||
Reference in New Issue
Block a user