blob: cc7f0384282cf6c468e86859b8a713728880f724 (
plain)
1 # Description: Variable ties made easier: much, much, much easier...
2 # URL: https://metacpan.org/release/Tie-Simple
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=p5-tie-simple
6 _realname=Tie-Simple
7 _author=HANENKAMP
8 version=1.04
9 release=1
10 source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
11
12 build() {
13 cd $_realname-$version
14
15 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
16 make
17 make DESTDIR="$PKG" install
18
19 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
20 find $PKG -depth -empty -delete
21 }
|