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

Jan de Groot jgc at archlinux.org
Sun Oct 12 14:22:45 EDT 2008


    Date: Sunday, October 12, 2008 @ 14:22:45
  Author: jgc
Revision: 15172

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

........
  r15095 | jgc | 2008-10-12 17:40:55 +0200 (Sun, 12 Oct 2008) | 1 line
  
  upgpkg: libcanberra 0.10-1
........
  r15168 | jgc | 2008-10-12 20:17:49 +0200 (Sun, 12 Oct 2008) | 2 lines
  
  Add install scriptlet
........

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

---------------------+
 PKGBUILD            |   11 ++++++++---
 libcanberra.install |   19 +++++++++++++++++++
 2 files changed, 27 insertions(+), 3 deletions(-)


Property changes on: libcanberra/repos/testing-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /libcanberra/trunk:1-14397
   + /libcanberra/trunk:1-15169

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2008-10-12 18:20:43 UTC (rev 15171)
+++ testing-x86_64/PKGBUILD	2008-10-12 18:22:45 UTC (rev 15172)
@@ -2,16 +2,18 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libcanberra
-pkgver=0.9
+pkgver=0.10
 pkgrel=1
 pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('libvorbis' 'gstreamer0.10' 'libtool' 'gtk2>=2.14.3' 'alsa-lib')
+depends=('libvorbis' 'gstreamer0.10' 'libtool' 'gtk2>=2.14.3' 'alsa-lib' 'tdb' 'gconf')
 makedepends=('gtk-doc')
+install=libcanberra.install
+options=(!emptydirs)
 url=http://0pointer.de/lennart/projects/libcanberra
 source=(http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('1c6c63d5461e6a1ae443a124d49f8fb6')
+md5sums=('2623370bfcecaeecaeb85e5ec445f340')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -20,4 +22,7 @@
   make -j1 DESTDIR="${pkgdir}" install || return 1
   rm -f ${pkgdir}/usr/lib/*.la
   rm -f ${pkgdir}/usr/lib/gtk-2.0/modules/*.la
+  
+  install -m755 -d "${pkgdir}/usr/share/gconf" 
+  mv "${pkgdir}/etc/gconf/schemas" "${pkgdir}/usr/share/gconf/"
 }

Copied: libcanberra/repos/testing-x86_64/libcanberra.install (from rev 15168, libcanberra/trunk/libcanberra.install)
===================================================================
--- testing-x86_64/libcanberra.install	                        (rev 0)
+++ testing-x86_64/libcanberra.install	2008-10-12 18:22:45 UTC (rev 15172)
@@ -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