[arch-commits] Commit in mpfr/repos (testing-i686 testing-i686/mpfr.install)

Jan de Groot jgc at archlinux.org
Mon Sep 15 07:19:57 UTC 2008


    Date: Monday, September 15, 2008 @ 03:19:56
  Author: jgc
Revision: 12537

Merged revisions 12534 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/mpfr/trunk

........
  r12534 | jgc | 2008-09-15 09:12:51 +0200 (Mon, 15 Sep 2008) | 2 lines
  
  Add missing install scriptlet
........

Added:
  mpfr/repos/testing-i686/mpfr.install
    (from rev 12534, mpfr/trunk/mpfr.install)
Modified:
  mpfr/repos/testing-i686/	(properties)

--------------+
 mpfr.install |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)


Property changes on: mpfr/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /mpfr/trunk:1-12454
   + /mpfr/trunk:1-12536

Copied: mpfr/repos/testing-i686/mpfr.install (from rev 12534, mpfr/trunk/mpfr.install)
===================================================================
--- testing-i686/mpfr.install	                        (rev 0)
+++ testing-i686/mpfr.install	2008-09-15 07:19:56 UTC (rev 12537)
@@ -0,0 +1,18 @@
+info_dir=/usr/share/info
+info_files=(mpfr.info)
+
+post_install() {
+  for f in ${info_files[@]}; do
+    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for f in ${info_files[@]}; do
+    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list