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

30 lines
806 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: linux masa dosyalarını parçalamak için perl modulu
# URL:http://search.cpan.org/~trizen/Linux-DesktopFiles-0.07/lib/Linux/DesktopFiles.pm
# Paketçi: milisarge
# Gerekler:
2018-07-31 08:59:26 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
_isim=Linux-DesktopFiles
isim=perl-linux-desktopfiles
surum=0.25
devir=1
kaynak=(https://cpan.metacpan.org/authors/id/T/TR/TRIZEN/Linux-DesktopFiles-$surum.tar.gz)
derle() {
( 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
)
}