diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:54:22 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:54:22 (GMT) |
commit | ff0f7cee2dc2b420e257313fef663a3f78bbc800 (patch) | |
tree | 7af473b8667e5c685144e8123934878b79896412 /abs/core/perl_modules/perl-locale-gettext/PKGBUILD | |
parent | 16a043fed17ea05b6d6ca012ff09b71008562790 (diff) | |
download | linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.zip linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.gz linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.bz2 |
perl_modules: updated to many to list
Diffstat (limited to 'abs/core/perl_modules/perl-locale-gettext/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-locale-gettext/PKGBUILD | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/abs/core/perl_modules/perl-locale-gettext/PKGBUILD b/abs/core/perl_modules/perl-locale-gettext/PKGBUILD index 22efcb7..e2bb2e3 100644 --- a/abs/core/perl_modules/perl-locale-gettext/PKGBUILD +++ b/abs/core/perl_modules/perl-locale-gettext/PKGBUILD @@ -1,28 +1,43 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 160541 2012-06-02 10:27:56Z bluewind $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Mark Rosenstand <mark@borkware.net> -# Maintainer: Paul Mattal <paul@archlinux.org> +# Contributor: Paul Mattal <paul@archlinux.org> pkgname=perl-locale-gettext _realname=gettext pkgver=1.05 -pkgrel=3 -pkgdesc="Permits access from Perl to the gettext() family of functions." -arch=(i686 x86_64) +pkgrel=9 +pkgdesc="Permits access from Perl to the gettext() family of functions" +arch=('i686' 'x86_64') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('gettext' 'perl>=5.10.0') +depends=('gettext' 'perl') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz) -md5sums=('f3d3f474a1458f37174c410dfef61a46') +source=("http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz" + 'compatibility-with-POSIX-module.patch') +md5sums=('f3d3f474a1458f37174c410dfef61a46' + '854302f34d01a2f8ae739187788973dd') build() { - cd ${startdir}/src/${_realname}-${pkgver} || return 1 + cd "${srcdir}/${_realname}-${pkgver}" + + patch -Np1 -i ${srcdir}/compatibility-with-POSIX-module.patch # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make MAN1EXT=1p MAN3EXT=3pm || return 1 - make install MAN1EXT=1p MAN3EXT=3pm DESTDIR=${startdir}/pkg || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete + find "${pkgdir}" -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -delete } |