diff options
author | Kiyoshi Aman <adelie@aerdan.vulpine.house> | 2020-02-15 00:16:34 -0500 |
---|---|---|
committer | Kiyoshi Aman <adelie@aerdan.vulpine.house> | 2020-02-15 00:16:34 -0500 |
commit | bbe27a6187fe3d59e00cb9acda5ddaf4d09078e4 (patch) | |
tree | ed6ea3d1fd2e72501690e3bc8bd19a1c88a8809a /user/perl-data-uuid | |
parent | 82fe5d55ccfe8afbe1c0a19faf06ceb519bbd45c (diff) | |
download | packages-bbe27a6187fe3d59e00cb9acda5ddaf4d09078e4.tar.gz packages-bbe27a6187fe3d59e00cb9acda5ddaf4d09078e4.tar.bz2 packages-bbe27a6187fe3d59e00cb9acda5ddaf4d09078e4.tar.xz packages-bbe27a6187fe3d59e00cb9acda5ddaf4d09078e4.zip |
user/perl-data-uuid: new package
Diffstat (limited to 'user/perl-data-uuid')
-rw-r--r-- | user/perl-data-uuid/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-data-uuid/APKBUILD b/user/perl-data-uuid/APKBUILD new file mode 100644 index 000000000..17e97b05f --- /dev/null +++ b/user/perl-data-uuid/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-data-uuid +_pkgreal=Data-UUID +_author=RJBS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=1.224 +pkgrel=0 +pkgdesc="Perl module for working with UUIDs" +url="https://metacpan.org/pod/Data::UUID" +arch="all" +license="MIT" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="897ab26e83600214110167b86fc63848281b7bdf3818dcfedb713bf2eb64a06c48cc7cee43bfa4130c6fdb912fb77863bd31ffe08c95ec85e6660a9b369b7970 Data-UUID-1.224.tar.gz" |