diff options
author | Dawid Potocki | 2021-09-22 08:48:15 +1200 |
---|---|---|
committer | Dawid Potocki | 2021-09-22 08:48:15 +1200 |
commit | edb2cf2aae1fcdf02a1618eec89ee13ec52b0390 (patch) | |
tree | 83e0d9066ec7fda4c5cbcba341d7bc18bd5ab059 /PKGBUILD | |
parent | 0ecec2dfdaae33fd1f7349901260f94bcc8f27db (diff) | |
download | aur-edb2cf2aae1fcdf02a1618eec89ee13ec52b0390.tar.gz |
Update to 3.1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -2,13 +2,13 @@ _pkgname=htop pkgname="$_pkgname-vim" -pkgver=3.0.5 -pkgrel=2 +pkgver=3.1.0 +pkgrel=1 pkgdesc='Interactive process viewer with a Vim keybindings patch' arch=('x86_64') url='https://htop.dev/' license=('GPL') -depends=('ncurses' 'libncursesw.so' 'libnl') +depends=('libcap' 'libcap.so' 'libnl' 'ncurses' 'libncursesw.so') makedepends=('lm_sensors') optdepends=('lm_sensors: show cpu temperatures' 'lsof: show files opened by a process' @@ -16,22 +16,21 @@ optdepends=('lm_sensors: show cpu temperatures' provides=('htop') conflicts=('htop') options=('!emptydirs') -source=("https://github.com/htop-dev/htop/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz" +source=("https://github.com/htop-dev/htop/archive/${pkgver}/${_pkgname}-${pkgver}.tar.gz" 'vim-keybindings.patch' ) -sha256sums=('4c2629bd50895bd24082ba2f81f8c972348aa2298cc6edc6a21a7fa18b73990c' - '181d5bd6c3d9cfe65bb78453ccd5be22db947485954879af65d3b9757fcf46f5' -) +sha256sums=('200a4f9331d0e5048bf9bda6a8dee38248c557e471b9e57ff3784853efd613a9' + '2089457e7e6b331a1d290b5920bb2f2b3142256a6cb30a3231f6b0ec1ef71ff0') prepare() { - cd "$_pkgname-$pkgver" + cd "${_pkgname}-${pkgver}" patch -Np1 < ../vim-keybindings.patch autoreconf -fi } build() { - cd "$_pkgname-$pkgver" + cd "${_pkgname}-${pkgver}" ./configure \ --prefix=/usr \ @@ -46,5 +45,5 @@ build() { } package() { - make -C "$_pkgname-$pkgver" DESTDIR="$pkgdir" install + make -C "${_pkgname}-${pkgver}" DESTDIR="${pkgdir}" install } |