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

25 lines
813 B
Bash

# Template file for 'perl-Text-Bidi'
pkgname=perl-Text-Bidi
version=2.15
revision=2
wrksrc="${pkgname#*-}-${version}"
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="DirectorX <void.directorx@protonmail.com>"
homepage="https://metacpan.org/release/Text-Bidi"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
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
}
}