This commit is contained in:
Daniel Flanagan 2022-11-22 08:33:09 -06:00
parent 76613585d8
commit e70ccf6324
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 1 additions and 75 deletions

View file

@ -1,18 +0,0 @@
pkgbase = htop-vim-mode-git
pkgdesc = lytedev's fork of the process monitor with a vim_mode setting
pkgver = 1081.9ed47a2
pkgrel = 1
url = https://github.com/lytedev/htop
arch = x86_64
license = GPL2
makedepends = git
makedepends = python
depends = ncurses
optdepends = lsof: list open files for running process
optdepends = strace: attach to running process
provides = htop
conflicts = htop
source = git+https://github.com/lytedev/htop.git#branch=daniel/add-simple-vim-mode
sha256sums = SKIP
pkgname = htop-vim-mode-git

View file

@ -1,4 +0,0 @@
*
!.gitignore
!.SRCINFO
!PKGBUILD

View file

@ -1,52 +0,0 @@
# Maintainer: Daniel Flanagan <daniel@lyte.dev>
_gitname=htop
_githubuser=lytedev
_gitrepo=https://github.com/$_githubuser/$_gitname
_gitbranch=daniel/add-simple-vim-mode
_gitcommit=9ed47a2
_gitcommitcount=1081
pkgname=${_gitname}-vim-mode-git
pkgver=1081.9ed47a2
pkgrel=1
pkgdesc="lytedev's fork of the process monitor with a vim_mode setting"
arch=('x86_64')
url="$_gitrepo"
license=('GPL2')
depends=('ncurses')
makedepends=('git' 'python')
optdepends=('lsof: list open files for running process'
'strace: attach to running process')
provides=("${_gitname}")
conflicts=("${_gitname}")
source=("git+${url}.git#branch=${_gitbranch}")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
printf "%s" "${ver//-/.}"
}
prepare() {
cd "$srcdir/$_gitname"
./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-unicode \
--enable-openvz \
--enable-vserver \
--enable-cgroup
}
build() {
cd "$srcdir/$_gitname"
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}

View file

@ -6,7 +6,7 @@ This repository holds my AUR packages.
## Packages ## Packages
- [`htop-vim-mode-git`](./htop-vim-mode-git) (Deleted since my changes were mainlined)
- [`ttf-iosevka-lyte`](./ttf-iosevka-lyte) - [`ttf-iosevka-lyte`](./ttf-iosevka-lyte)
- [`ttf-iosevka-lyte-nerd-font`](./ttf-iosevka-lyte-nerd-font)
[aur-search]: https://aur.archlinux.org/packages/?SeB=m&K=lytedev [aur-search]: https://aur.archlinux.org/packages/?SeB=m&K=lytedev