mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
30 lines
887 B
Bash
30 lines
887 B
Bash
# $Id: PKGBUILD 79159 2010-05-01 05:18:26Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
|
|
pkgname=psmisc
|
|
pkgver=22.11
|
|
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=('b5d32aa285b75c59dee96d3ea26a4881' '143116f9c1a6ed14645cf34f76e97239')
|
|
sha1sums=('5d3b9f15ffba3f98147223abbcf803405fd7b7ae' 'cda61d954cc16d5331a4e3e78a30ef61fa798ef3')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p0 < ../psmisc.checkregs.fix.patch || return 1
|
|
mkdir m4
|
|
autoreconf || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|