Selaa lähdekoodia

[trunk] 'perl-term-readline-gnu-1.36-3' modify

master
artoo 3 kuukautta sitten
vanhempi
commit
dfbdff850c
1 muutettua tiedostoa jossa 42 lisäystä ja 0 poistoa
  1. +42
    -0
      trunk/PKGBUILD

+ 42
- 0
trunk/PKGBUILD Näytä tiedosto

@@ -0,0 +1,42 @@
# CPAN Name : Term-ReadLine-Gnu
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: jason ryan <jasonwryan@gmail.com>
# Contributor: AUR Perl <aurperl@juster.info>
# Generator : CPANPLUS::Dist::Arch 1.15

pkgname=perl-term-readline-gnu
pkgver=1.36
pkgrel=3
pkgdesc="GNU Readline XS library wrapper"
arch=('x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl>=5.7')
url='http://search.cpan.org/dist/Term-ReadLine-Gnu'
source=("http://search.cpan.org/CPAN/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-${pkgver}.tar.gz")
md5sums=('f8636c8e17b3266f3a686521a0c06886')

build() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor" \
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null

cd "${srcdir}/Term-ReadLine-Gnu-$pkgver"
/usr/bin/perl Makefile.PL
make
}

check() {
cd "${srcdir}/Term-ReadLine-Gnu-$pkgver"
export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
}

package() {
cd "${srcdir}/Term-ReadLine-Gnu-$pkgver"
make pure_install PERL_INSTALL_ROOT="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}


Loading…
Peruuta
Tallenna