mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
sys-apps/asus-numpad: bump EAPI, improve ebuild
Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
parent
30f2e04b4f
commit
993bec4cfb
@ -1,14 +1,13 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/xytovl/asus-numpad.git"
|
||||
inherit git-r3
|
||||
else
|
||||
TAG="v${PV}"
|
||||
SRC_URI="https://github.com/xytovl/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/xytovl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
@ -20,9 +19,8 @@ HOMEPAGE="https://github.com/xytovl/asus-numpad"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/libevdev-1.12.0"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
DEPEND=">=dev-libs/libevdev-1.12.0"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure
|
@ -1,14 +1,13 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/xytovl/asus-numpad.git"
|
||||
inherit git-r3
|
||||
else
|
||||
TAG="v${PV}"
|
||||
SRC_URI="https://github.com/xytovl/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/xytovl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
@ -20,9 +19,8 @@ HOMEPAGE="https://github.com/xytovl/asus-numpad"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/libevdev-1.12.0"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
DEPEND=">=dev-libs/libevdev-1.12.0"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure
|
||||
|
Loading…
x
Reference in New Issue
Block a user