mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 13:52:40 +01:00
app-misc/lssecret: add ebuild
This commit is contained in:
32
app-misc/lssecret/lssecret-0_p20190703.ebuild
Normal file
32
app-misc/lssecret/lssecret-0_p20190703.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="lssecrets lists all secret items in a secret service using libsecret"
|
||||
HOMEPAGE="https://gitlab.com/GrantMoyer/lssecret"
|
||||
SRC_URI="https://gitlab.com/GrantMoyer/lssecret/-/raw/722013dc982e56f8127d3ab0105606410d4e1744/lssecret.cpp?inline=false -> ${P}.cpp"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-crypt/libsecret"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${P}.cpp" lssecret.cpp || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCXX) lssecret.cpp ${CXXFLAGS} $(pkg-config --cflags --libs libsecret-1) -o lssecret || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin lssecret || die
|
||||
}
|
||||
Reference in New Issue
Block a user