PKGBUILDs/community/perl-data-hexdump/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
758 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=perl-data-hexdump
pkgver=0.02
pkgrel=1
pkgdesc="Hexadecial Dumper"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Data-HexDump"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/F/FT/FTASSIN/Data-HexDump-$pkgver.tar.gz)
md5sums=('467b7183d1062ab4a502b50c34e7d67f')
build() {
cd $startdir/src/Data-HexDump-$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
}