diff options
Diffstat (limited to 'extra/p5-X11-Protocol/Pkgfile')
-rw-r--r-- | extra/p5-X11-Protocol/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/p5-X11-Protocol/Pkgfile b/extra/p5-X11-Protocol/Pkgfile new file mode 100644 index 000000000..bf875a393 --- /dev/null +++ b/extra/p5-X11-Protocol/Pkgfile @@ -0,0 +1,22 @@ +# Description: perl_X11_protocol +# URL:http://cpan.org/modules/by-module/X11/ +# Maintainer: NuTyX core team +# Packager: Skippythekangoo AT yahoo DOT fr +# Depends on:perl,xorg +name=p5-X11-Protocol +_name=X11-Protocol +version=0.56 +release=1 +source=(http://cpan.org/modules/by-module/X11/$_name-$version.tar.gz) +build() { +cd $_name-$version + perl Makefile.PL + make + make DESTDIR=$PKG install + find $PKG \ + -name perllocal.pod \ + -o -name .packlist | xargs rm + find $PKG -empty | xargs rmdir -p ||: + +} + |