[arch-commits] Commit in libcanberra/repos (2 files)

Jan de Groot jgc at archlinux.org
Sun Oct 12 18:20:44 UTC 2008


    Date: Sunday, October 12, 2008 @ 14:20:43
  Author: jgc
Revision: 15171

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

........
  r15168 | jgc | 2008-10-12 20:17:49 +0200 (Sun, 12 Oct 2008) | 2 lines
  
  Add install scriptlet
........

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

---------------------+
 libcanberra.install |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)


Property changes on: libcanberra/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /libcanberra/trunk:1-15095
   + /libcanberra/trunk:1-15168

Copied: libcanberra/repos/testing-i686/libcanberra.install (from rev 15168, libcanberra/trunk/libcanberra.install)
===================================================================
--- testing-i686/libcanberra.install	                        (rev 0)
+++ testing-i686/libcanberra.install	2008-10-12 18:20:43 UTC (rev 15171)
@@ -0,0 +1,19 @@
+pkgname=libcanberra
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+  if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+    pre_remove
+  fi
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}




More information about the arch-commits mailing list