28 lines
618 B
Plaintext
28 lines
618 B
Plaintext
# Description: Read/Write YAML files with as little code as possible
|
|
# URL: https://metacpan.org/pod/YAML::Tiny
|
|
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
|
|
|
|
name=p5-yaml-tiny
|
|
version=1.73
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-$version.tar.gz)
|
|
|
|
build() {
|
|
cd YAML-Tiny-$version
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
# remove perlcrap
|
|
find $PKG -name perllocal.pod \
|
|
-o -name "*.bs" \
|
|
-o -name .packlist \
|
|
-o -name autosplit.ix \
|
|
| xargs rm -f
|
|
|
|
# remove empty dirs
|
|
find $PKG -depth -type d -empty -delete
|
|
}
|