From 5b67bb2f8e3a641e05f99367484c663a7167fad4 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 14 Jun 2019 20:59:13 -0500 Subject: system/procps: stupid dumb GNU git versioning idiocy fix, use better gitlab URL --- system/procps/APKBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'system') diff --git a/system/procps/APKBUILD b/system/procps/APKBUILD index 4cfe3e38e..f16c674ae 100644 --- a/system/procps/APKBUILD +++ b/system/procps/APKBUILD @@ -10,17 +10,15 @@ makedepends_build="autoconf automake libtool gettext-tiny" makedepends_host="ncurses-dev utmps-dev" checkdepends="dejagnu" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang libproc" -source="$pkgname-$pkgver.tar.gz::https://gitlab.com/procps-ng/$pkgname/repository/archive.tar.gz?ref=v$pkgver +source="https://gitlab.com/procps-ng/procps/-/archive/v$pkgver/procps-v$pkgver.tar.bz2 0001-pt_BR-fix-translation-error.patch use-utmpx.patch" +builddir="$srcdir/$pkgname-v$pkgver" prepare() { - # NOTE: Name of the tarball's top-level directory contains SHA1. - ln -fs $pkgname-v$pkgver-* "$builddir" - - default_prepare - cd "$builddir" + default_prepare + printf "$pkgver" > .tarball-version ./autogen.sh } @@ -28,6 +26,7 @@ build() { cd "$builddir" export LIBS="$LIBS -lutmps -lskarnet" + export VERSION="$pkgver" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -75,6 +74,6 @@ libproc() { mv "$pkgdir"/lib "$subpkgdir"/ } -sha512sums="61017c98827cb9c325fe51f74e9e912cb6b130abdc69742678968a45f4a6f1f033bac4adaed19908197bc97a7426a7a27e04be361edb74ebff3dc0383b71fa53 procps-3.3.15.tar.gz +sha512sums="0c50ef0f19305f1b53089f20f29d8058b23dde20983dbed759ea0fe8128b22518fd137dec389c3630988b6bbf0cf485418a328153b89ec4e1dfbf6d89322c064 procps-v3.3.15.tar.bz2 d63c8df42f74f08f19276a8f4d0260624313801b138aa2b430a105328c3230427d3e81bc016ddde9fc995575e97961a3be8e4f5ded34c874cc613c645605a976 0001-pt_BR-fix-translation-error.patch 6683b94f64848721ebce8254461fbd70a3efd048bf9579c5bbe298bd1ec00594c05640327f0e03475e583607f1f7405139b93fc9f06592d5593174cbf6d4119f use-utmpx.patch" -- cgit v1.2.3-70-g09d2