#!/bin/sh NAME="perl-exporter-tiny" DESC="an exporter with the features of Sub::Exporter but only core dependencies" MAKEDEPS=" perl" PKG_VER=1.006000 SOURCE="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-$PKG_VER.tar.gz" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } package() { make DESTDIR="$PKG_DEST" install find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete }