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