#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=psmisc
pkgver=23.6
pkgrel=01
pkgdesc='Miscellaneous procfs tools'
arch=('x86_64')
url='https://gitlab.com/psmisc/psmisc'
depends=('ncurses')
#options=('debug')  ##  uncomment this to have the debug package created
source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz"{,.asc})
build() {
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
}

#---- license gpg-key sha256sums ----

license=('GPL')

validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small <csmall@debian.org>

sha256sums=(257dde06159a4c49223d06f1cccbeb68933a4514fc8f1d77c64b54f0d108822a  # psmisc-23.6.tar.xz
	0934df9150ef02cf5db7bcf7671faa35b0d1db14fd524c0af42ec669830411d0) # psmisc-23.6.tar.xz.asc

