Subject: [bug#63866] [PATCH 03/16] gnu: Add perl-lib-relative.

From: gemmaro <[email-masked]>
Date: Sat, 3 Jun 2023 14:05:38 +0900

* gnu/packages/perl.scm (perl-lib-relative): New variable.
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 1d663ed679c..5c6b1bb4b79 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6308,6 +6308,27 @@ (define-public perl-libintl-perl
 implemented for example in GNU gettext.")
     (license license:gpl3+)))
 
+(define-public perl-lib-relative
+  (package
+    (name "perl-lib-relative")
+    (version "1.001")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/D/DB/DBOOK/lib-relative-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0zr57f2ridjllirwpkch0did1n9fznk946an7gf49gkyy4hndqbb"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/lib-relative")
+    (synopsis "Add paths relative to the current file to @code{@@INC}")
+    (description
+     "@code{lib::relative} module proposes a more straightforward method than
+adding a path to @code{@@INC}: take a path relative to the current
+file, absolutize it, and add it to @code{@@INC}.")
+    (license license:artistic2.0)))
+
 (define-public perl-lingua-en-sentence
   (package
     (name "perl-lingua-en-sentence")
-- 
2.40.1