diff --git a/srcpkgs/perl-Text-Bidi/template b/srcpkgs/perl-Text-Bidi/template index 76ce0e0b112..619fbc619b6 100644 --- a/srcpkgs/perl-Text-Bidi/template +++ b/srcpkgs/perl-Text-Bidi/template @@ -1,7 +1,7 @@ # Template file for 'perl-Text-Bidi' pkgname=perl-Text-Bidi version=2.12 -revision=1 +revision=2 wrksrc="${pkgname#*-}-${version}" build_style=perl-module hostmakedepends="perl fribidi-devel" @@ -9,9 +9,18 @@ makedepends="perl fribidi-devel" depends="perl" noarch=yes short_desc="Text::Bidi - Unicode bidi algorithm using libfribidi" -maintainer="DirectorX " +maintainer="DirectorX " 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 + } +} diff --git a/srcpkgs/perl-Text-Bidi/urxvt-bidi.INSTALL.msg b/srcpkgs/perl-Text-Bidi/urxvt-bidi.INSTALL.msg new file mode 100644 index 00000000000..6262719f878 --- /dev/null +++ b/srcpkgs/perl-Text-Bidi/urxvt-bidi.INSTALL.msg @@ -0,0 +1,2 @@ +Add "bidi" to the "urxvt.perl-ext" field in ~/.Xdefaults and enable it by +adding the line: URxvt.bidi.enabled: 1 diff --git a/srcpkgs/perl-Text-Bidi/urxvt-bidi.REMOVE.msg b/srcpkgs/perl-Text-Bidi/urxvt-bidi.REMOVE.msg new file mode 100644 index 00000000000..ecd8b6f2ce8 --- /dev/null +++ b/srcpkgs/perl-Text-Bidi/urxvt-bidi.REMOVE.msg @@ -0,0 +1,2 @@ +Don't forget to remove "bidi" from the "urxvt.perl-ext" field and the line that +enables it in ~/.Xdefaults. diff --git a/srcpkgs/urxvt-bidi b/srcpkgs/urxvt-bidi new file mode 120000 index 00000000000..3044d75460a --- /dev/null +++ b/srcpkgs/urxvt-bidi @@ -0,0 +1 @@ +perl-Text-Bidi \ No newline at end of file