void-packages/srcpkgs/perl-Text-Bidi/template
DirectorX eff0ac6442 New package: urxvt-bidi-2.12
Closes: #7776 [via git-merge-pr]
2017-10-15 16:19:10 -07:00

26 lines
796 B
Bash

# Template file for 'perl-Text-Bidi'
pkgname=perl-Text-Bidi
version=2.12
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=perl-module
hostmakedepends="perl fribidi-devel"
makedepends="perl fribidi-devel"
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
}
}