summaryrefslogtreecommitdiff
path: root/p5-glib-object-introspection/Pkgfile
blob: 0960f63de6b7431e25da2152502dc9735a87a8be (plain)
    1 # Description:  Dynamically create Perl language bindings
    2 # URL:          https://metacpan.org/pod/Glib::Object::Introspection
    3 # Maintainer:   John Vogel, jvogel4 at stny dot rr dot com
    4 # Packager:     Alexandr Savca, alexandr dot savca89 at gmail dot com
    5 # Depends on:   gobject-introspection p5-glib
    6 
    7 name=p5-glib-object-introspection
    8 version=0.048
    9 release=1
   10 source=(https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-$version.tar.gz)
   11 
   12 build() {
   13         cd Glib-Object-Introspection-$version
   14         perl Makefile.PL
   15 
   16         make OPTIMIZE="$CFLAGS"
   17         make install DESTDIR=$PKG
   18 
   19         find $PKG -name perllocal.pod   \
   20                 -o -name "*.bs"         \
   21                 -o -name .packlist      \
   22                 -o -name autosplit.ix   \
   23         | xargs rm -f
   24 
   25         find $PKG -depth -type d -empty -delete
   26         find $PKG -type f -a -perm -u-w | xargs chmod u+w
   27 }

Generated by cgit