mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
701 B
Bash
22 lines
701 B
Bash
|
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
|
||
|
# Maintainer: Charles Mauch <cmauch@gmail.com>
|
||
|
|
||
|
pkgname=perl-file-type
|
||
|
pkgver=0.22
|
||
|
pkgrel=3
|
||
|
pkgdesc="Perl/CPAN Module File::Type"
|
||
|
arch=("i686" "x86_64")
|
||
|
url="http://search.cpan.org/dist/File-Type"
|
||
|
license=("GPL" "Artistic")
|
||
|
source=("http://www.cpan.org/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz")
|
||
|
md5sums=('4be3b0b7000b325c60351fcc8a04815d')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/File-Type-0.22
|
||
|
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
|
||
|
}
|