# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Maintainer: Charles Mauch pkgname=perl-x11-protocol pkgver=0.56 pkgrel=3 pkgdesc="Perl/CPAN Module X11::Protocol : Raw interface to X Window System servers" arch=("i686" "x86_64") url="http://search.cpan.org/dist/X11-Protocol" license=("GPL" "PerlArtistic") source=("http://www.cpan.org/authors/id/S/SM/SMCCAM/X11-Protocol-0.56.tar.gz") md5sums=('2260bad68d373b201b17c60d761e0f0a') depends=("xorg-server") build() { cd $startdir/src/X11-Protocol-0.56 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 }