commit:     1ebd4e93f72ae1eba47eac7dee0a7301a63fb38b
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat May  7 15:13:18 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat May  7 15:13:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ebd4e93

app-text/xapian-omega: backport commit 9be97c9 for the 1.2 branch

Package-Manager: portage-2.2.26

 ...1.2.23-r1.ebuild => xapian-omega-1.2.23-r2.ebuild} | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild 
b/app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild
similarity index 69%
rename from app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild
rename to app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild
index 1c2bada..164eebb 100644
--- a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild
+++ b/app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild
@@ -23,11 +23,24 @@ RDEPEND="${DEPEND}"
 src_install () {
        emake DESTDIR="${D}" install
 
-       #move docs to /usr/share/doc/${PF}.
-       mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
-
        # Protect /etc/omega.conf
        echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega
        doenvd "${T}"/20xapian-omega
        dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+
+       #move docs to /usr/share/doc/${PF}.
+       mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" || die
+
+       # Directory containing Xapian databases:
+       keepdir /var/lib/omega/data
+
+       # Directory containing OmegaScript templates:
+       keepdir /var/lib/omega/templates
+       mv "${S}"/templates/* "${D}"/var/lib/omega/templates || die
+
+       # Directory to write Omega logs to:
+       keepdir /var/log/omega
+
+       # Directory containing any cdb files for the $lookup OmegaScript 
command:
+       keepdir /var/lib/omega/cdb
 }

Reply via email to