summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-08-30 19:26:27 +0000
committerDonny Davies <woodchip@gentoo.org>2001-08-30 19:26:27 +0000
commit1e8023e0c5b805643a069e5120c0a1f662e51a1f (patch)
tree76caa98e93073ef4fbbf6e063e077de781a6c732 /app-misc
parentfix tabstops (diff)
downloadgentoo-2-1e8023e0c5b805643a069e5120c0a1f662e51a1f.tar.gz
gentoo-2-1e8023e0c5b805643a069e5120c0a1f662e51a1f.tar.bz2
gentoo-2-1e8023e0c5b805643a069e5120c0a1f662e51a1f.zip
added pkg_postinst()
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/bbpager/bbpager-0.3.0.ebuild25
1 files changed, 10 insertions, 15 deletions
diff --git a/app-misc/bbpager/bbpager-0.3.0.ebuild b/app-misc/bbpager/bbpager-0.3.0.ebuild
index a64fe57ce689..0562f7bac319 100644
--- a/app-misc/bbpager/bbpager-0.3.0.ebuild
+++ b/app-misc/bbpager/bbpager-0.3.0.ebuild
@@ -1,31 +1,26 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Gontran Zepeda <gontran@gontran.net>
-# Based on bbkeys*.ebuild by Joe Bormolini <lordjoe> and
-# blackbox*.ebuild by Ben Lutgens <lamer>
-# $Header: /var/cvsroot/gentoo-x86/app-misc/bbpager/bbpager-0.3.0.ebuild,v 1.2 2001/08/15 19:23:57 lordjoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bbpager/bbpager-0.3.0.ebuild,v 1.3 2001/08/30 19:26:27 woodchip Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="An understated pager for Blackbox."
-SRC_URI="http://bbtools.windsofstorm.net/sources/${A}"
+SRC_URI="http://bbtools.windsofstorm.net/sources/${P}.tar.gz"
HOMEPAGE="http://bbtools.windsofstorm.net/available.phtml#bbpager"
DEPEND=">=x11-wm/blackbox-0.61"
src_compile() {
-
- try ./configure --prefix=/usr/X11R6 --host=${CHOST}
- try pmake
-
+ ./configure --prefix=/usr/X11R6 --host=${CHOST} || die
+ emake || die
}
src_install () {
-
- try make DESTDIR=${D} install
- dodoc README TODO NEWS ChangeLog
- cd /usr/X11R6/bin/wm
- cp blackbox blackbox.bak
- sed -e s:.*blackbox:"exec /usr/X11R6/bin/bbpager \&\n&": blackbox.bak > blackbox
+ make DESTDIR=${D} install || die
+ dodoc README TODO NEWS ChangeLog
}
+pkg_postinst() {
+ cd ${ROOT}usr/X11R6/bin/wm
+ sed -e "s/.*blackbox/exec \/usr\/X11R6\/bin\/bbpager \&\n&/" blackbox | cat > blackbox
+}