blob: 8acab0957eedfd8e50b3be3ff8e928bbac7e7433 (
plain)
1 # Description: Implementation of a singleton class
2 # URL: https://metacpan.org/pod/Class::Singleton
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=p5-class-singleton
7 version=1.6
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/S/SH/SHAY/Class-Singleton-$version.tar.gz)
10
11 build() {
12 cd Class-Singleton-$version
13 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
14 make
15 make DESTDIR=$PKG install
16 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
17 }
|