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
Package Registry
Model registry
Operate
Terraform modules
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
Zewei Yang
aports
Commits
341985d6
Commit
341985d6
authored
9 months ago
by
Celeste
Browse files
Options
Downloads
Patches
Plain Diff
testing/time: modernize
fix lint warnings about $builddir and $pkgname
parent
488d6110
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/time/APKBUILD
+4
-6
4 additions, 6 deletions
testing/time/APKBUILD
with
4 additions
and
6 deletions
testing/time/APKBUILD
+
4
−
6
View file @
341985d6
...
...
@@ -8,8 +8,7 @@ url="https://www.gnu.org/software/time/"
arch
=
"all"
license
=
"GPL-3.0-only"
subpackages
=
"
$pkgname
-doc"
source
=
"https://ftp.gnu.org/gnu/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
source
=
"https://ftp.gnu.org/gnu/time/time-
$pkgver
.tar.gz"
prepare
()
{
default_prepare
...
...
@@ -17,7 +16,6 @@ prepare() {
}
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -29,13 +27,13 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"5c6dabbbe71e9103a47b892b86bb914c1704122d4fe7dff1e2cbd28503297163118d295077d8e062b035d673a1f91c36f8a45c7383f374fd766942b32bde4406 time-1.9.tar.gz"
sha512sums
=
"
5c6dabbbe71e9103a47b892b86bb914c1704122d4fe7dff1e2cbd28503297163118d295077d8e062b035d673a1f91c36f8a45c7383f374fd766942b32bde4406 time-1.9.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