diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-02-01 16:38:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-02-01 16:56:38 +0000 |
commit | 87044cdf9e4c2ac5096717f1736864d0758772aa (patch) | |
tree | ada8dbb915edd01555643deec94d0bbb64ed2429 | |
parent | 613fc65a15621448af5ca08114853b6177192049 (diff) | |
download | aports-87044cdf9e4c2ac5096717f1736864d0758772aa.tar.bz2 aports-87044cdf9e4c2ac5096717f1736864d0758772aa.tar.xz |
testing/shotwell: install scripts for gconf schemas
-rw-r--r-- | testing/shotwell/APKBUILD | 3 | ||||
-rw-r--r-- | testing/shotwell/shotwell.post-install | 7 | ||||
-rw-r--r-- | testing/shotwell/shotwell.post-upgrade | 7 | ||||
-rw-r--r-- | testing/shotwell/shotwell.pre-deinstall | 7 |
4 files changed, 23 insertions, 1 deletions
diff --git a/testing/shotwell/APKBUILD b/testing/shotwell/APKBUILD index 17d556a41a..9825c5153b 100644 --- a/testing/shotwell/APKBUILD +++ b/testing/shotwell/APKBUILD @@ -1,11 +1,12 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=shotwell pkgver=0.8.1 -pkgrel=0 +pkgrel=1 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" url="http://yorba.org/shotwell/" arch="all" license="LGPL2.1" +install="shotwell.post-upgrade shotwell.post-install shotwell.pre-deinstall" depends="" makedepends="intltool vala libgee-dev libunique-dev webkit-dev libexif-dev librsvg-dev sqlite-dev udev-dev dbus-glib-dev libgphoto2-dev diff --git a/testing/shotwell/shotwell.post-install b/testing/shotwell/shotwell.post-install new file mode 100644 index 0000000000..e6135da045 --- /dev/null +++ b/testing/shotwell/shotwell.post-install @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in shotwell.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/testing/shotwell/shotwell.post-upgrade b/testing/shotwell/shotwell.post-upgrade new file mode 100644 index 0000000000..e6135da045 --- /dev/null +++ b/testing/shotwell/shotwell.post-upgrade @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in shotwell.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/testing/shotwell/shotwell.pre-deinstall b/testing/shotwell/shotwell.pre-deinstall new file mode 100644 index 0000000000..9d3a000300 --- /dev/null +++ b/testing/shotwell/shotwell.pre-deinstall @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in shotwell.schemas; do + echo "Uninstalling GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null +done |