summaryrefslogtreecommitdiff
path: root/p5-glib/Pkgfile
blob: 06e28dcaab758b8387e9b0c458eef0a4c0ecc2fa (plain)
    1 # Description: Perl bindings for glib
    2 # URL:         https://metacpan.org/pod/Glib
    3 # Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
    4 # Depends on:  glib p5-extutils-depends p5-extutils-pkgconfig
    5 
    6 name=p5-glib
    7 version=1.3292
    8 release=1
    9 source=(https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-$version.tar.gz)
   10 
   11 build() {
   12 	cd Glib-$version
   13 	perl Makefile.PL
   14 
   15 	make OPTIMIZE="$CFLAGS"
   16 	make install DESTDIR=$PKG
   17 
   18 	find $PKG -name perllocal.pod -o -name "*.bs" -o -name .packlist | xargs rm
   19 	find $PKG -empty | xargs rmdir -p ||:
   20 
   21 	find $PKG -type f -a -perm -u-w | xargs chmod u+w
   22 }

Generated by cgit