From 66d9054984063e6c34f034b135bf8153e0e8b431 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 24 Nov 2010 02:53:14 +0000
Subject: psmisc: upgrade

---
 abs/core/psmisc/ChangeLog | 40 ++++++++++++++++++++++++++++++++++++++++
 abs/core/psmisc/PKGBUILD  | 26 ++++++++++++++------------
 2 files changed, 54 insertions(+), 12 deletions(-)
 create mode 100644 abs/core/psmisc/ChangeLog

diff --git a/abs/core/psmisc/ChangeLog b/abs/core/psmisc/ChangeLog
new file mode 100644
index 0000000..d9fa6df
--- /dev/null
+++ b/abs/core/psmisc/ChangeLog
@@ -0,0 +1,40 @@
+2010-09-06  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.13-1
+	* Upstream update
+
+2010-08-03  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.12-1
+	* Upstream update
+	* Updated psmisc.checkregs.fix.patch
+
+2010-04-30  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.11-1
+	* Upstream update
+
+2010-01-12  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.10-1
+	* Upstream update
+
+2009-07-31  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.8-1
+	* Upstream update
+
+2009-05-14  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.7-1
+	* Upstream update
+
+2009-04-30  Eric Belanger  <eric@archlinux.org>
+
+	* psmisc 22.6-2.1
+	* Added peekfd in x86_64 package (close FS#14514)
+
+2008-10-19  Eric Belanger  <eric@archlinux.org>
+
+	* Updated url
+	* Added ChangeLog
diff --git a/abs/core/psmisc/PKGBUILD b/abs/core/psmisc/PKGBUILD
index c6df5b5..0508bcc 100644
--- a/abs/core/psmisc/PKGBUILD
+++ b/abs/core/psmisc/PKGBUILD
@@ -1,25 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 90063 2010-09-07 03:39:08Z eric $
 # Maintainer: Eric Belanger <eric@archlinux.org>
 
 pkgname=psmisc
-pkgver=22.6
-pkgrel=10
+pkgver=22.13
+pkgrel=1
 pkgdesc="Miscellaneous procfs tools"
 arch=('i686' 'x86_64')
-url="http://psmisc.sourceforge.net"
+url="http://psmisc.sourceforge.net/index.html"
 license=('GPL')
 groups=('base')
 depends=('glibc' 'ncurses')
-source=(http://downloads.sourceforge.net/psmisc/$pkgname-$pkgver.tar.gz)
-md5sums=('2e81938855cf5cc38856bd4a31d79a4c')
-sha1sums=('cb15c23e9cfe618e9de5f066525bce7dc7b77421')
+changelog=ChangeLog
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e2c339e6b65b730042084023784a729e')
+sha1sums=('5d53c8bb5a279176be3515c07d833cdf116dd516')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg install
-# we use sysvinit's pidof program
-  rm -f $startdir/pkg/usr/man/man1/pidof.1
-  rm -f $startdir/pkg/usr/bin/pidof
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12

