mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:44:36 +08:00
25 lines
823 B
Bash
25 lines
823 B
Bash
# $Id: PKGBUILD 62900 2010-01-13 17:18:25Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
|
|
pkgname=psmisc
|
|
pkgver=22.10
|
|
pkgrel=2
|
|
pkgdesc="Miscellaneous procfs tools"
|
|
arch=('i686' 'x86_64')
|
|
url="http://psmisc.sourceforge.net/index.html"
|
|
license=('GPL')
|
|
groups=('base')
|
|
depends=('glibc' 'ncurses')
|
|
source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz psmisc.checkregs.fix.patch)
|
|
md5sums=('e881383e7f399121cd0ce744f97d91a5' '143116f9c1a6ed14645cf34f76e97239')
|
|
sha1sums=('20bfa81ec36603c6a141bd7e6137cf9d3b52c3d9' 'cda61d954cc16d5331a4e3e78a30ef61fa798ef3')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p0 < ../psmisc.checkregs.fix.patch || return 1
|
|
autoreconf || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|