summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2002-01-14 14:19:25 +0000
committerMikael Hallendal <hallski@gentoo.org>2002-01-14 14:19:25 +0000
commite014da887965db719c36770954e51a7d5730371f (patch)
treee297993dc1cd982139aa92826ea0fce045ce25a5 /app-text/scrollkeeper
parentremoved old versioN (diff)
downloadhistorical-e014da887965db719c36770954e51a7d5730371f.tar.gz
historical-e014da887965db719c36770954e51a7d5730371f.tar.bz2
historical-e014da887965db719c36770954e51a7d5730371f.zip
sandbox fixes, removed old version
Diffstat (limited to 'app-text/scrollkeeper')
-rw-r--r--app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r21
-rw-r--r--app-text/scrollkeeper/scrollkeeper-0.2-r2.ebuild (renamed from app-text/scrollkeeper/scrollkeeper-0.2-r1.ebuild)18
2 files changed, 18 insertions, 1 deletions
diff --git a/app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r2 b/app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r2
new file mode 100644
index 000000000000..6f390bbb5e78
--- /dev/null
+++ b/app-text/scrollkeeper/files/digest-scrollkeeper-0.2-r2
@@ -0,0 +1 @@
+MD5 a10cb1fae040525e50b1b05dc06dc9a7 scrollkeeper-0.2.tar.gz 311296
diff --git a/app-text/scrollkeeper/scrollkeeper-0.2-r1.ebuild b/app-text/scrollkeeper/scrollkeeper-0.2-r2.ebuild
index 8ca6fed13d4c..adcf0dcb8bf1 100644
--- a/app-text/scrollkeeper/scrollkeeper-0.2-r1.ebuild
+++ b/app-text/scrollkeeper/scrollkeeper-0.2-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.2-r1.ebuild,v 1.1 2002/01/03 06:58:06 hallski Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-0.2-r2.ebuild,v 1.1 2002/01/14 14:19:25 hallski Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Scrollkeeper"
@@ -30,7 +30,23 @@ src_compile() {
}
src_install() {
+ cd omf-install
+ cp Makefile Makefile.old
+ sed -e "s:scrollkeeper-update.*::g" Makefile.old > Makefile
+ rm Makefile.old
+ cd ${S}
+
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING* ChangeLog README NEWS
}
+
+pkg_postinst() {
+ echo ">>> Updating Scrollkeeper database..."
+ scrollkeeper-update >/dev/null 2>&1
+}
+
+pkg_postrm() {
+ echo ">>> Scrollkeeper ${PV} unmerged, if you removed the package"
+ echo " you might want to clean up /var/lib/scrollkeeper."
+}