void-packages/srcpkgs/perl-Text-Bidi/template

25 lines
807 B
Bash

# Template file for 'perl-Text-Bidi'
pkgname=perl-Text-Bidi
version=2.15
revision=5
build_style=perl-module
hostmakedepends="perl swig"
makedepends="perl fribidi-devel perl-ExtUtils-PkgConfig"
depends="perl"
short_desc="Text::Bidi - Unicode bidi algorithm using libfribidi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/Text-Bidi"
distfiles="${CPAN_SITE}/Text/Text-Bidi-${version}.tar.gz"
checksum=3518676877d446f6c20a6bac7567120b3e81f6f7f08e7db366aaf04ae2eac5f0
urxvt-bidi_package() {
depends="${sourcepkg}>=${version}_${revision} rxvt-unicode"
short_desc="Adds bidirectional support to urxvt"
pkg_install() {
vmkdir usr/lib/urxvt/perl
vcopy misc/bidi usr/lib/urxvt/perl
vdoc "${FILESDIR}/README.voidlinux"
}
}