initial commit

This commit is contained in:
Daniel Flanagan 2020-01-22 14:19:15 -06:00
commit 0a2ed3ec1f
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,52 @@
# 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=('htop')
conflicts=('htop')
source=("git+https://github.com/lytedev/${_gitname}.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
}

8
makefile Normal file
View file

@ -0,0 +1,8 @@
.PHONE: test namcap default
default: test
test: namcap
namcap:
fd PKGBUILD | xargs namcap

8
readme.md Normal file
View file

@ -0,0 +1,8 @@
# AUR Packages
This repository holds my AUR packages.
[Browse on AUR][aur-search]
[aur-search]: https://aur.archlinux.org/packages/?SeB=m&K=lytedev