Skip to content

Commit

Permalink
app-misc/symlinks: add 1.4.3
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
  • Loading branch information
Schievel1 committed Sep 8, 2023
1 parent 4e7d307 commit 19c1ece
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions app-misc/symlinks/Manifest
@@ -1 +1,2 @@
DIST symlinks-1.4.3.tar.gz 5888 BLAKE2B 9a75c4f82d93abe2b996fe75c265885a40d8a2966b77659a09e9beb0eeb703b01e0c0dcb1bfc802457f1a1b6e8b681b2e987b10349b2fd48203ea07ea03e79ce SHA512 90437e9114ad18b4137a490111be672d613c141ea8ee43cbf3c3a4ee3f80c620150926a91ec3f52467ed8efce989b1035f72d02a013d335cca5a052b6c0733f8
DIST symlinks-1.4.tar.gz 4942 BLAKE2B 983c16bd5dedbca3f3544756a1e5de4939eb31e871c72110224f7e63821cec69289d9a1e152081d9895230670b96ed813ef0692ea0922d9a52d5050ade723893 SHA512 d1efb1ca553cc9eb95f1d113e453acd22c9f0964eacec985c85c125de23ae9d636b9ced182c2673f455e5d897ad15a978a424170fce767ccc492443eac7f972f
5 changes: 4 additions & 1 deletion app-misc/symlinks/metadata.xml
Expand Up @@ -10,6 +10,9 @@
Each link is prefixed with a classification of relative, absolute,
dangling, messy, lengthy or other_fs. Symlinks can also convert
absolute links (within the same filesystem) to relative links and can
delete messy and dangling links.
delete messy and dangling links.
</longdescription>
<upstream>
<remote-id type="github">brandt/symlinks</remote-id>
</upstream>
</pkgmetadata>
36 changes: 36 additions & 0 deletions app-misc/symlinks/symlinks-1.4.3.ebuild
@@ -0,0 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Scans for and fixes broken or messy symlinks"
HOMEPAGE="https://github.com/brandt/symlinks"
SRC_URI="https://github.com/brandt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="symlinks"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="static"

DOCS=( Readme.md )

src_prepare() {
default
# could be useful if being used to repair
# symlinks that are preventing shared libraries from
# functioning.
use static && append-flags -static
append-lfs-flags
}

src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
}

src_install() {
dobin "${PN}"
doman "${PN}.8"
einstalldocs
}

0 comments on commit 19c1ece

Please sign in to comment.