PKGBUILDs/community/perl-xml-smart/PKGBUILD

22 lines
710 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-xml-smart
pkgver=1.6.9
pkgrel=3
pkgdesc="Perl/CPAN Module XML::Smart"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/XML-Smart"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/G/GM/GMPASSOS/XML-Smart-1.6.9.tar.gz")
md5sums=('648309c0d613ddaca6f6b16e9f13c81d')
build() {
cd $startdir/src/XML-Smart-1.6.9
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
}