diff options
author | Alex Kubica | 2016-10-02 14:47:28 +0300 |
---|---|---|
committer | Alex Kubica | 2016-10-02 14:47:28 +0300 |
commit | cc0503c3b1f264ab6a7a70c0b83f6859a2473da5 (patch) | |
tree | f4dc52fab5ca8da17e876451a6ae12dd90d15a25 | |
download | aur-cc0503c3b1f264ab6a7a70c0b83f6859a2473da5.tar.gz |
uploading perl-text-bidi package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..50b1b14bb5a9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = perl-text-bidi + pkgdesc = Unicode bidi algorithm using libfribidi + pkgver = 2.11 + pkgrel = 1 + url = https://metacpan.org/release/Text-Bidi + arch = any + license = GPL + license = PerlArtistic + makedepends = perl-extutils-pkgconfig + depends = perl + options = !emptydirs + options = purge + source = https://cpan.metacpan.org/authors/id/K/KA/KAMENSKY/Text-Bidi-2.11.tar.gz + md5sums = 09bf3b9212795a66877439751f3c8664 + +pkgname = perl-text-bidi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e75f7ec8552b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer : Alex Kubica <alexkubicail@gmail.com> +pkgname=perl-text-bidi +_dist=Text-Bidi +pkgver=2.11 +pkgrel=1 +pkgdesc="Unicode bidi algorithm using libfribidi" +arch=('any') +url="https://metacpan.org/release/$_dist" +license=('GPL' 'PerlArtistic') +depends=(perl) +makedepends=(perl-extutils-pkgconfig) +options=('!emptydirs' purge) +source=("https://cpan.metacpan.org/authors/id/K/KA/KAMENSKY/$_dist-$pkgver.tar.gz") +md5sums=('09bf3b9212795a66877439751f3c8664') + +build() { + cd $srcdir/${_dist}-${pkgver} + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +} + +package() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} |