aboutsummaryrefslogtreecommitdiff
path: root/repo/pod2man
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-25 17:57:58 +0800
committerKunoiSayami <[email protected]>2021-10-25 17:57:58 +0800
commit0d02ab2f8032e540061c82d90022be4b6c6ceea3 (patch)
tree85fda1676fc75b3f342cdc27a6a47356d5c3ada8 /repo/pod2man
parent8bad07b42bf845bb760a77489136ad3a1e69bf9e (diff)
fix: Fix missing build files
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo/pod2man')
-rw-r--r--repo/pod2man/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/pod2man/PKGBUILD b/repo/pod2man/PKGBUILD
new file mode 100644
index 0000000..3a20d52
--- /dev/null
+++ b/repo/pod2man/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Fernando Ortiz <[email protected] >
+# Contributor: Alexander F. Rødseth <[email protected]>
+
+pkgname=pod2man
+pkgver=5.30.2
+pkgrel=1
+pkgdesc='Make pod2man easily accessible'
+arch=(x86_64)
+license=(GPL PerlArtistic)
+url='https://perl.org/'
+depends=(perl)
+
+package() {
+ # perl 5 places pod2man in /usr/bin/core_perl instead of /usr/bin,
+ # for unknown reasons. This creates a symlink in what is what is now a more
+ # conventional location.
+
+ install -d "$pkgdir/usr/bin"
+ ln -s /usr/bin/core_perl/pod2man "$pkgdir/usr/bin/pod2man"
+}
+
+# vim: ts=2 sw=2 et: