jobcore/psmisc/PKGBUILD

53 lines
1.3 KiB
Bash
Raw Permalink Normal View History

2022-03-20 13:19:37 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
2022-03-22 02:43:33 +01:00
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:19:37 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
2022-03-22 02:43:33 +01:00
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=psmisc
2024-03-04 17:41:28 +01:00
_tag='3c53de31d8797fc20e1fbf2b32732f64db0b9f42' # git rev-parse v${_tag_name}
pkgver=23.7
pkgrel=01
2022-03-20 13:19:37 +01:00
pkgdesc='Miscellaneous procfs tools'
url='https://gitlab.com/psmisc/psmisc'
depends=('ncurses')
2024-03-04 17:41:28 +01:00
makedepends=('git' 'po4a')
2022-05-07 02:11:34 +02:00
#options=('debug') ## uncomment this to have the debug package created
2024-03-04 17:41:28 +01:00
#source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz"{,.asc})
source=("git+https://gitlab.com/psmisc/psmisc.git#tag=${_tag}?signed")
prepare() {
cd ${pkgname}
./autogen.sh
}
2022-03-20 13:19:37 +01:00
build() {
2024-03-04 17:41:28 +01:00
# cd ${pkgname}-${pkgver}
cd ${pkgname}
2022-03-20 13:19:37 +01:00
./configure \
--prefix=/usr
make
}
package() {
2024-03-04 17:41:28 +01:00
# cd ${pkgname}-${pkgver}
cd ${pkgname}
2022-03-20 13:19:37 +01:00
make DESTDIR="${pkgdir}" install
}
2024-03-04 17:41:28 +01:00
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
2022-03-20 13:19:37 +01:00
license=('GPL')
2022-12-13 21:08:43 +01:00
validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small <csmall@debian.org>
2024-03-04 17:41:28 +01:00
sha256sums=(SKIP)
## 03b460b47380208215bcda2848b38b590c1224e4c27b27686282a351085d43fd psmisc-23.7-01-x86_64.pkg.tar.lz
2022-12-13 21:08:43 +01:00