milis/talimatname/genel/perl-glib/talimat

22 lines
528 B
Plaintext
Raw Normal View History

2017-04-07 15:33:54 +02:00
# Description: Glib için perl bağlayıcısı
2016-02-24 01:27:23 +01:00
# URL: http://www.gtkperl.org
2017-04-07 15:33:54 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: perl-extutils-depends gobject-introspection perl-extutils-pkgconfig
2017-04-07 15:33:54 +02:00
2016-02-24 01:27:23 +01:00
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 ||:
}