mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
23 lines
820 B
Bash
23 lines
820 B
Bash
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
|
|
|
pkgname=perl-universal-can
|
|
pkgver=1.12
|
|
pkgrel=3
|
|
pkgdesc="Hack around people calling UNIVERSAL::can() as a function"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/UNIVERSAL-can"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl>=5.10.0')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-$pkgver.tar.gz)
|
|
md5sums=('4386c4f7479447fc5b51e8c3770cd2f4')
|
|
|
|
build() {
|
|
cd $startdir/src/UNIVERSAL-can-$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
|
|
}
|