summaryrefslogtreecommitdiffstats
path: root/extra/p5-x11-protocol/Pkgfile
blob: cbd9a40fb495a742c7c38029e0c7c824c2831ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ||:

}