summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/pod2man/PKGBUILD
blob: 3132a72d08a20bcb1fd0e418b41263b025f0ecc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 aarch64 armv7h)
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: