upg psmisc
This commit is contained in:
parent
0580177278
commit
8f1c01ab50
3 changed files with 38 additions and 15 deletions
|
@ -6,16 +6,25 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=psmisc
|
||||
pkgver=23.6
|
||||
_tag='3c53de31d8797fc20e1fbf2b32732f64db0b9f42' # git rev-parse v${_tag_name}
|
||||
pkgver=23.7
|
||||
pkgrel=01
|
||||
pkgdesc='Miscellaneous procfs tools'
|
||||
arch=('x86_64')
|
||||
url='https://gitlab.com/psmisc/psmisc'
|
||||
depends=('ncurses')
|
||||
makedepends=('git' 'po4a')
|
||||
#options=('debug') ## uncomment this to have the debug package created
|
||||
source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz"{,.asc})
|
||||
#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
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
# cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
@ -23,17 +32,21 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
# cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL')
|
||||
|
||||
validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small <csmall@debian.org>
|
||||
|
||||
sha256sums=(257dde06159a4c49223d06f1cccbeb68933a4514fc8f1d77c64b54f0d108822a # psmisc-23.6.tar.xz
|
||||
0934df9150ef02cf5db7bcf7671faa35b0d1db14fd524c0af42ec669830411d0) # psmisc-23.6.tar.xz.asc
|
||||
sha256sums=(SKIP)
|
||||
|
||||
## 03b460b47380208215bcda2848b38b590c1224e4c27b27686282a351085d43fd psmisc-23.7-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
|
|
@ -1,21 +1,27 @@
|
|||
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
||||
|
||||
pkgname=psmisc
|
||||
pkgver=23.6
|
||||
_tag='3c53de31d8797fc20e1fbf2b32732f64db0b9f42' # git rev-parse v${_tag_name}
|
||||
pkgver=23.7
|
||||
pkgrel=1
|
||||
pkgdesc='Miscellaneous procfs tools'
|
||||
arch=('x86_64')
|
||||
url='https://gitlab.com/psmisc/psmisc'
|
||||
license=('GPL')
|
||||
depends=('ncurses')
|
||||
options=('debug')
|
||||
makedepends=('git' 'po4a')
|
||||
validpgpkeys=('5D2FB320B825D93904D205193938F96BDF50FEA5') # Craig Small <csmall@debian.org>
|
||||
source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz"{,.asc})
|
||||
sha256sums=('257dde06159a4c49223d06f1cccbeb68933a4514fc8f1d77c64b54f0d108822a'
|
||||
'SKIP')
|
||||
source=("git+https://gitlab.com/psmisc/psmisc.git#tag=${_tag}?signed")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}
|
||||
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
@ -23,7 +29,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
cd ${pkgname}
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
git
|
||||
po4a
|
||||
automake
|
||||
autoconf
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue