From 8b8d7e159368a5b54e9c9e20927c3347caae6e26 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 20 Jun 2013 15:56:49 -0300 Subject: maliit-framework: add new package to pcr repo --- pcr/maliit-framework/maliit-framework.install | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 pcr/maliit-framework/maliit-framework.install (limited to 'pcr/maliit-framework/maliit-framework.install') diff --git a/pcr/maliit-framework/maliit-framework.install b/pcr/maliit-framework/maliit-framework.install new file mode 100755 index 000000000..fc328d6c3 --- /dev/null +++ b/pcr/maliit-framework/maliit-framework.install @@ -0,0 +1,30 @@ +pkgname=maliit-framework + +post_install() { + echo "Updating gtk.immodules..." + gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + gtk-query-immodules-3.0 --update-cache + echo "Done." + + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + echo "Updating gtk.immodules..." + gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + gtk-query-immodules-3.0 --update-cache + echo "Done." + +} -- cgit v1.2.3 From 43a1e54786ded60f861fa4936ddbeb1c083d4c56 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 20 Jun 2013 17:04:34 -0300 Subject: maliit-framework: fix some issues --- pcr/maliit-framework/PKGBUILD | 4 ++-- pcr/maliit-framework/maliit-framework.install | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'pcr/maliit-framework/maliit-framework.install') diff --git a/pcr/maliit-framework/PKGBUILD b/pcr/maliit-framework/PKGBUILD index 102a02e75..d4207f993 100644 --- a/pcr/maliit-framework/PKGBUILD +++ b/pcr/maliit-framework/PKGBUILD @@ -3,12 +3,12 @@ pkgname=maliit-framework pkgver=0.99.0 -pkgrel=1 +pkgrel=4 pkgdesc="Maliit Input Methods - Framework" arch=('x86_64' 'i686') url="http://maliit.org" license=('LGPL') -depends=('qt5-base' 'qt5-quick1' 'gtk2' 'gtk3') +depends=('qt5-base' 'qt5-quick1' 'gtk2' 'gtk3' 'gconf') install=${pkgname}.install source=(http://maliit.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('c5e8c67cbfb514122518d92f1edcc990') diff --git a/pcr/maliit-framework/maliit-framework.install b/pcr/maliit-framework/maliit-framework.install index fc328d6c3..08c54ae1b 100755 --- a/pcr/maliit-framework/maliit-framework.install +++ b/pcr/maliit-framework/maliit-framework.install @@ -2,11 +2,11 @@ pkgname=maliit-framework post_install() { echo "Updating gtk.immodules..." - gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules gtk-query-immodules-3.0 --update-cache echo "Done." - usr/sbin/gconfpkg --install ${pkgname} + gconfpkg --install ${pkgname} } pre_upgrade() { @@ -18,12 +18,12 @@ post_upgrade() { } pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + gconfpkg --uninstall ${pkgname} } post_remove() { echo "Updating gtk.immodules..." - gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules gtk-query-immodules-3.0 --update-cache echo "Done." -- cgit v1.2.3