diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 23:57:00 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 23:57:00 -0700 |
commit | 2e474d213dff56545646a0b838455784f302ac3e (patch) | |
tree | e39d9101e30b517fb74abdc8ce3e54b620804835 | |
parent | 391eac99cb9a660919991b3a57e74f1538946a7c (diff) | |
download | packages-2e474d213dff56545646a0b838455784f302ac3e.tar.gz packages-2e474d213dff56545646a0b838455784f302ac3e.tar.bz2 packages-2e474d213dff56545646a0b838455784f302ac3e.tar.xz packages-2e474d213dff56545646a0b838455784f302ac3e.zip |
user/perl-types-serialiser: add package
-rw-r--r-- | user/perl-types-serialiser/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
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 <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +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" |