mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
24 lines
862 B
Bash
24 lines
862 B
Bash
|
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
||
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
||
|
|
||
|
pkgname=perl-extutils-xsbuilder
|
||
|
pkgver=0.28
|
||
|
pkgrel=3
|
||
|
pkgdesc="Automatic Perl XS glue code generation"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://search.cpan.org/dist/ExtUtils-XSBuilder"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perl>=5.10.0' 'perl-parse-recdescent' 'perl-tie-ixhash')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/G/GR/GRICHTER/ExtUtils-XSBuilder-$pkgver.tar.gz)
|
||
|
md5sums=('1d33ddeacc01426a02e23c71c2e4cd04')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/ExtUtils-XSBuilder-$pkgver
|
||
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||
|
make || return 1
|
||
|
make install DESTDIR=$startdir/pkg || return 1
|
||
|
find $startdir/pkg -name '.packlist' -delete
|
||
|
find $startdir/pkg -name '*.pod' -delete
|
||
|
}
|