jobextra/libprocps/PKGBUILD
2023-07-14 15:44:14 +03:00

58 lines
1.7 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libprocps
pkgver=3.3.17
pkgrel=03
pkgdesc='procps 3.x libraries for monitoring your system and its processes w/o systemd'
url='https://gitlab.com/procps-ng/procps'
depends=('glibc')
options=('!emptydirs')
provides=('libprocps.so')
source=("https://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${pkgver}.tar.xz"{,.asc})
build() {
cd procps-${pkgver}
./configure \
--prefix=/usr \
--exec-prefix=/ \
--sysconfdir=/etc \
--libdir=/usr/lib \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--enable-watch8bit \
--without-systemd \
--disable-modern-top \
--disable-kill
make
}
package() {
cd procps-${pkgver}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,share}
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL' 'LGPL')
validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small <csmall@debian.org>
b2sums=('43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3'
'SKIP')
sha256sums=(4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4 # procps-ng-3.3.17.tar.xz
433aaad6098d8018ff4b7b4a20fdc0e25f55372ece6ca4f0009325f686c03499) # procps-ng-3.3.17.tar.xz.asc
## 374594603e6755564ba8bf97420dd7d9b68dde357cb0b06e29b8ea3136088b4d libprocps-3.3.17-03-x86_64.pkg.tar.lz