Skip to content
Snippets Groups Projects
Commit 458d30e7 authored by Celeste's avatar Celeste
Browse files

testing/perl-lib-abs: new aport

https://metacpan.org/release/lib-abs/
'lib' that makes relative path absolute to caller
parent c39fd73c
No related branches found
No related tags found
No related merge requests found
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-lib-abs
pkgver=0.95
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=lib-abs
pkgdesc="'lib' that makes relative path absolute to caller"
url="https://metacpan.org/release/lib-abs/"
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/M/MO/MONS/lib-abs-$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="
153e6515551f5907ec932c065455f73f38564ac24607fd168123a55a4b008ce03d9edccedd2b4b9ef91c0ace5ea3bfe6a21722459ebe8ac4fa5e21166b6b3e6c lib-abs-0.95.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment