milis/talimatname/genel/p/perl-linux-desktopfiles/talimat

29 lines
791 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: linux masa dosyalarını parçalamak için perl modulu
2016-04-16 14:17:00 +02:00
# URL:http://search.cpan.org/~trizen/Linux-DesktopFiles-0.07/lib/Linux/DesktopFiles.pm
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-04-16 14:17:00 +02:00
2017-10-28 14:10:23 +02:00
_isim=Linux-DesktopFiles
isim=perl-linux-desktopfiles
2018-05-06 21:11:54 +02:00
surum=0.25
2017-10-28 14:10:23 +02:00
devir=1
2016-04-16 14:17:00 +02:00
2018-05-06 21:11:54 +02:00
kaynak=(https://cpan.metacpan.org/authors/id/T/TR/TRIZEN/Linux-DesktopFiles-$surum.tar.gz)
2016-04-16 14:17:00 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2018-05-06 21:11:54 +02:00
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
MODULEBUILDRC=/dev/null
cd "$SRC/$_isim-$surum"
/usr/bin/perl Makefile.PL
make
make install
find "$PKG" -name .packlist -o -name perllocal.pod -delete
)
2016-04-16 14:17:00 +02:00
}