forked from ports/contrib
18 lines
499 B
Plaintext
18 lines
499 B
Plaintext
# Description: Implementation of a singleton class
|
|
# URL: https://metacpan.org/pod/Class::Singleton
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=p5-class-singleton
|
|
version=1.6
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/S/SH/SHAY/Class-Singleton-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Class-Singleton-$version
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
make DESTDIR=$PKG install
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
}
|