Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
f15e69c4
Commit
f15e69c4
authored
5 years ago
by
Timothy Legge
Committed by
Rasmus Thomsen
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/perl-time-duration-parse: move from testing and modernize
parent
afb73717
No related branches found
No related tags found
1 merge request
!5717
community/perl-chi: move from testing with depends and modernize each
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/perl-time-duration-parse/APKBUILD
+11
-18
11 additions, 18 deletions
community/perl-time-duration-parse/APKBUILD
with
11 additions
and
18 deletions
testing
/perl-time-duration-parse/APKBUILD
→
community
/perl-time-duration-parse/APKBUILD
+
11
−
18
View file @
f15e69c4
# Automatically generated by apkbuild-cpan, template
2
# Automatically generated by apkbuild-cpan, template
3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname
=
perl-time-duration-parse
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal
=
Time-Duration-Parse
pkgver
=
0.15
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Parse string that represents time duration"
url
=
"https://metacpan.org/release/Time-Duration-Parse"
url
=
"https://metacpan.org/release/Time-Duration-Parse
/
"
arch
=
"noarch"
license
=
"GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends
=
"perl-exporter-lite"
cpancheckdepends
=
"perl-time-duration"
depends
=
"
$cpandepends
"
depends
=
"perl perl-exporter-lite"
makedepends
=
"perl-dev"
checkdepends
=
"
$cpancheckdepends
"
checkdepends
=
"
perl-time-duration
"
subpackages
=
"
$pkgname
-doc"
source
=
"https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-Parse-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgreal
-
$pkgver
"
prepare
()
{
default_prepare
build
()
{
export
CFLAGS
=
$(
perl
-MConfig
-E
'say $Config{ccflags}'
)
PERL_MM_USE_DEFAULT
=
1 perl Makefile.PL
INSTALLDIRS
=
vendor
PERL_MM_USE_DEFAULT
=
1 perl
-I
.
Makefile.PL
INSTALLDIRS
=
vendor
make
}
build
()
{
check
()
{
export
CFLAGS
=
$(
perl
-MConfig
-E
'say $Config{ccflags}'
)
make
make
test
}
package
()
{
...
...
@@ -35,9 +33,4 @@ package() {
find
"
$pkgdir
"
\(
-name
perllocal.pod
-o
-name
.packlist
\)
-delete
}
check
()
{
export
CFLAGS
=
$(
perl
-MConfig
-E
'say $Config{ccflags}'
)
make
test
}
sha512sums
=
"1cd4b303cedc58d8513165297369b3705c2fe07db9b626c922829a8a86586bbdf631cd06052924dfaa030a5179e121bbb9c0d8b7159d54e137cb9e70f3086e20 Time-Duration-Parse-0.15.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment