[arch-commits] Commit in htop/trunk (PKGBUILD)
Daniel Griffiths
dgriffiths at archlinux.org
Mon Apr 12 02:48:22 UTC 2010
Date: Sunday, April 11, 2010 @ 22:48:21
Author: dgriffiths
Revision: 77352
Adopted, move to splitpkg format
Modified:
htop/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-12 02:46:32 UTC (rev 77351)
+++ PKGBUILD 2010-04-12 02:48:21 UTC (rev 77352)
@@ -1,5 +1,6 @@
# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
pkgname=htop
pkgver=0.8.3
@@ -15,9 +16,14 @@
sha1sums=('2a0bf90f160b3d019e26712c94db612d6ff9a429')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1
- ./configure --prefix=/usr --enable-unicode --enable-openvz --enable-vserver || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c || return 1
+ ./configure --prefix=/usr --enable-unicode --enable-openvz \
+ --enable-vserver || return 1
+ make || return 1
}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+}
More information about the arch-commits
mailing list