mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-11 21:04:19 +02:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-data-uuid
|
|
pkgver=1.227
|
|
pkgrel=1
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Data-UUID
|
|
pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)"
|
|
url="https://metacpan.org/release/Data-UUID/"
|
|
arch="all"
|
|
# Not indexed by spdx.org appears to be a variation Microsoft added
|
|
license="osf-1990(variant)"
|
|
depends="perl"
|
|
makedepends="perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/Data-UUID-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
4b9ae792fba12232b49e799064c774b5a9b55b3019041e4ed0da6d7478b68815676295f888aa957dc4f0b8fca1fa88b3394992d2ea9ed79763769f262ad0835f Data-UUID-1.227.tar.gz
|
|
"
|