Skip to content
Snippets Groups Projects
Commit 341985d6 authored by Celeste's avatar Celeste
Browse files

testing/time: modernize

fix lint warnings about $builddir and $pkgname
parent 488d6110
No related branches found
No related tags found
No related merge requests found
......@@ -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
"
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