mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
app-misc/uwufetch: new package, add 2.0
Signed-off-by: Cara Salter <cara@devcara.com>
This commit is contained in:
45
app-misc/uwufetch/uwufetch-2.0.ebuild
Normal file
45
app-misc/uwufetch/uwufetch-2.0.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A meme system info tool for Linux"
|
||||
HOMEPAGE="https://github.com/TheDarkBug/uwufetch"
|
||||
SRC_URI="https://github.com/TheDarkBug/uwufetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-destdir.patch"
|
||||
"${FILESDIR}/${P}-soname.patch"
|
||||
"${FILESDIR}/${P}-lib64.patch"
|
||||
)
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="x11-apps/xwininfo"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
eapply -p0 "${FILESDIR}/${P}-destdir.patch"
|
||||
#eapply -p0 "${FILESDIR}/${P}-soname.patch"
|
||||
eapply -p0 "${FILESDIR}/${P}-lib64.patch"
|
||||
eapply -p0 "${FILESDIR}/${P}-includedir.patch"
|
||||
eapply -p0 "${FILESDIR}/${P}-reslib.patch"
|
||||
eapply -p0 "${FILESDIR}/${P}-nocompressman.patch"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}/usr" install
|
||||
|
||||
mv "${D}/usr/etc" "${D}/etc"
|
||||
|
||||
dodoc uwufetch.1
|
||||
}
|
||||
Reference in New Issue
Block a user