[arch-commits] Commit in htop/trunk (PKGBUILD)
Christian Hesse
eworm at gemini.archlinux.org
Tue Sep 21 07:00:03 UTC 2021
Date: Tuesday, September 21, 2021 @ 07:00:02
Author: eworm
Revision: 424450
upgpkg: htop 3.1.0-1: new upstream release...
... built from signed git tag.
Modified:
htop/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-21 05:22:08 UTC (rev 424449)
+++ PKGBUILD 2021-09-21 07:00:02 UTC (rev 424450)
@@ -4,29 +4,31 @@
# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=htop
-pkgver=3.0.5
+_tag='a8637afe0398f0be0131f73563b55ef9315ca351' # git rev-parse ${pkgver}
+pkgver=3.1.0
pkgrel=1
pkgdesc='Interactive process viewer'
arch=('x86_64')
url='https://htop.dev/'
license=('GPL')
-depends=('ncurses' 'libncursesw.so' 'libnl')
-makedepends=('lm_sensors')
+depends=('libcap' 'libcap.so' 'libnl' 'ncurses' 'libncursesw.so')
+makedepends=('git' 'lm_sensors')
optdepends=('lm_sensors: show cpu temperatures'
'lsof: show files opened by a process'
'strace: attach to a running process')
options=('!emptydirs')
-source=("https://github.com/htop-dev/htop/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('4c2629bd50895bd24082ba2f81f8c972348aa2298cc6edc6a21a7fa18b73990c')
+validpgpkeys=('F7ABE8761E6FE68638E6283AFE0842EE36DD8C0C') # Nathan Scott <nathans at debian.org>
+source=("git+https://github.com/htop-dev/htop.git#tag=${_tag}?signed")
+sha256sums=('SKIP')
prepare() {
- cd "$pkgname-$pkgver"
+ cd "${pkgname}"
autoreconf -fi
}
build() {
- cd "$pkgname-$pkgver"
+ cd "${pkgname}"
./configure \
--prefix=/usr \
@@ -41,5 +43,7 @@
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ cd "${pkgname}"
+
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list