blob: 67adfd17dbd9e32dee03c645ead9adcf725d5a18 (
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.049
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 sed -i '/^CCFLAGS /s/-pipe //' Makefile
17 make OPTIMIZE="$CFLAGS"
18 make install DESTDIR=$PKG
19
20 find $PKG -name perllocal.pod \
21 -o -name "*.bs" \
22 -o -name .packlist \
23 -o -name autosplit.ix \
24 | xargs rm -f
25
26 find $PKG -depth -type d -empty -delete
27 find $PKG -type f -a -perm -u-w | xargs chmod u+w
28 }
|