1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 16:02:39 +01:00

app-misc/lssecret: add ebuild

This commit is contained in:
2021-05-13 15:50:15 +02:00
parent 7c2663a6c9
commit 790b12fd27
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST lssecret-0_p20190703.cpp 3734 BLAKE2B a05f09fd8597f9f8d7b6addcda0a7ea9bd8251dabaf71f3917ff6862c55f39e441518dc316e65133e190f8a7edf33431c22f518ec98b430fbd841c8ab1c8207d SHA512 c61544fd13ff3611bb8d00668d477253d3383a8c2e82245d2034570c0e7d002440d293b5eb8abf19116b2138634a3be9c3c233fa49c26d28f3c595b5a8046c70
EBUILD lssecret-0_p20190703.ebuild 770 BLAKE2B 2bc640c53475cd4ac12110108f47016183e2e397a916a8bed3d247f603b3a7b68c1f95f37e37e5ccb4bebe9e4e036b56817c4e2a9a3834951ebc406ad7294303 SHA512 07033d4a37d1f9dd1ddf02bd20f6ed59c4ae63fefd5409ddab685a0b53b81d4f887113753d92cc283bf384a34e918036babdc78be011a795a64d6e760527f05f

View 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
}