milis/talimatname/genel/perl-glib/talimat

22 lines
546 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Perl connector for glib
# URL: http://www.gtkperl.org
# Packager: pierre at nutyx dot org
# Depends on: perl-extutils-depends gobject-introspection perl-extutils-pkgconfig
run=( perl )
name=perl-glib
version=1.304
release=1
2016-03-02 16:12:51 +01:00
source=(https://github.com/gitpan/Glib/archive/cpan_path/XAOC/Glib-$version.tar.gz.tar.gz)
2016-02-24 01:27:23 +01:00
build() {
2016-03-02 16:12:51 +01:00
cd Glib-cpan_path-XAOC-Glib-$version.tar.gz
2016-02-24 01:27:23 +01:00
perl Makefile.PL
make
make DESTDIR=$PKG install
find $PKG \
-name perllocal.pod \
-o -name .packlist | xargs rm
rm $PKG -empty | xargs rmdir -p ||:
}