diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-common-sense/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-common-sense/APKBUILD b/user/perl-common-sense/APKBUILD new file mode 100644 index 000000000..8f159d0b3 --- /dev/null +++ b/user/perl-common-sense/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-common-sense +pkgver=3.74 +pkgrel=0 +pkgdesc="Implements some (in)sane defaults for Perl programs" +url="https://metacpan.org/pod/common::sense" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz" +builddir="$srcdir/common-sense-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="658ad70a2d1bbd0b26f91c4ea5d69b4cc0b632ede9532b88282987002a5e280f0475d63ee846b7bd2d38ef82f2680e20c2093803e4b62a984750ed447f318d60 common-sense-3.74.tar.gz" |