summaryrefslogtreecommitdiff
path: root/p5-data-uniqid/Pkgfile
blob: 1d15a1f45aea5048b68c8807325a36a6e980b8a7 (plain)
    1 # Description: Perl extension for simple generation of unique IDs
    2 # URL: https://cpan.metacpan.org/dist/Data-Uniqid
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on:
    5 
    6 name=p5-data-uniqid
    7 version=0.12
    8 release=1
    9 source=(https://cpan.metacpan.org/authors/id/M/MW/MWX/Data-Uniqid-$version.tar.gz)
   10 
   11 build() {
   12   cd Data-Uniqid-$version
   13   unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
   14   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
   15   perl Makefile.PL
   16   make
   17   make install INSTALLDIRS=vendor DESTDIR=$PKG
   18   find $PKG -name .packlist -o \
   19     -name perllocal.pod -o \
   20     -name README -o \
   21     -name '*.bs' | xargs rm
   22 }

Generated by cgit