summaryrefslogtreecommitdiffstats
path: root/extra/p5-x11-protocol/Pkgfile
blob: bed91742f9512adfab835d907f16c73412153e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: perl_X11_protocol#
# URL:http://cpan.org/modules/by-module/X11/
# Maintainer: NuTyX core team
# Packager: Skippythekangoo AT yahoo DOT fr
# Depends on: 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 ||:

}