New package: urxvt-bidi-2.12

Closes: #7776 [via git-merge-pr]
This commit is contained in:
DirectorX 2017-09-22 17:06:52 +03:00 committed by Michael Aldridge
parent 7e3588ff0a
commit eff0ac6442
4 changed files with 16 additions and 2 deletions

View file

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

View file

@ -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

View file

@ -0,0 +1,2 @@
Don't forget to remove "bidi" from the "urxvt.perl-ext" field and the line that
enables it in ~/.Xdefaults.

1
srcpkgs/urxvt-bidi Symbolic link
View file

@ -0,0 +1 @@
perl-Text-Bidi