milis/talimatname/genel/perl-glib/talimat

22 lines
546 B
Plaintext

# 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
source=(https://github.com/gitpan/Glib/archive/cpan_path/XAOC/Glib-$version.tar.gz.tar.gz)
build() {
cd Glib-cpan_path-XAOC-Glib-$version.tar.gz
perl Makefile.PL
make
make DESTDIR=$PKG install
find $PKG \
-name perllocal.pod \
-o -name .packlist | xargs rm
rm $PKG -empty | xargs rmdir -p ||:
}