mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: TBK <tbk@jjtc.eu>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=perl-string-util
|
|
pkgver=1.35
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=String-Util
|
|
pkgdesc="String processing utility functions"
|
|
url="https://metacpan.org/release/String-Util/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/B/BA/BAKERSCOT/String-Util-$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="
|
|
4e24f605f7a54d0959bcdce409a701a0cbacf4d2a5b6680f619296388df0c477b8589f036c051ac41192cc93be2b95434daef43d8af73a8f6ae35b9d2a2128a8 String-Util-1.35.tar.gz
|
|
"
|