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

27 lines
820 B
Bash

# Template file for 'perl-Text-Bidi'
pkgname=perl-Text-Bidi
version=2.12
revision=3
wrksrc="${pkgname#*-}-${version}"
build_style=perl-module
hostmakedepends="perl fribidi-devel"
makedepends="perl fribidi-devel perl-ExtUtils-PkgConfig"
depends="perl"
noarch=yes
short_desc="Text::Bidi - Unicode bidi algorithm using libfribidi"
maintainer="DirectorX <void.directorx@protonmail.com>"
homepage="https://metacpan.org/pod/Text::Bidi"
license="GPL-1, Artistic"
distfiles="$CPAN_SITE/Text/Text-Bidi-${version}.tar.gz"
checksum=72e700cc4e7f48eb479989cc9d38362d24c58ea6fb1e0fe3390a832903943fa7
nocross=yes
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
}
}