From 2e474d213dff56545646a0b838455784f302ac3e Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Tue, 25 Sep 2018 23:57:00 -0700 Subject: user/perl-types-serialiser: add package --- user/perl-types-serialiser/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-types-serialiser/APKBUILD (limited to 'user/perl-types-serialiser') diff --git a/user/perl-types-serialiser/APKBUILD b/user/perl-types-serialiser/APKBUILD new file mode 100644 index 000000000..6c34d8215 --- /dev/null +++ b/user/perl-types-serialiser/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen +# Maintainer: Adélie Perl Team +pkgname=perl-types-serialiser +pkgver=1.0 +pkgrel=0 +pkgdesc="Simple data types for common serialisation formats" +url="https://metacpan.org/pod/Types::Serialiser" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl perl-common-sense" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-$pkgver.tar.gz" +builddir="$srcdir/Types-Serialiser-$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="b786bcd3ee976a6ad948cc98a9c71d2cdcd30f485528eff059091f6d86ae7078c10ba2dc2982326fcf0184dbfbdddea84daff324c6ec6a129fe6aac01253c8fb Types-Serialiser-1.0.tar.gz" -- cgit v1.2.3-70-g09d2