From 50f0c8f03ade84d548fda06c27cdc293d727d4be Mon Sep 17 00:00:00 2001 From: Perberos Date: Tue, 16 Oct 2012 17:27:11 -0300 Subject: fixing some deprecated variable name on configure file --- distro/archlinux/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'distro/archlinux') diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD index fd7a1ba..78d055b 100644 --- a/distro/archlinux/PKGBUILD +++ b/distro/archlinux/PKGBUILD @@ -22,9 +22,8 @@ build() { --disable-static \ --disable-scrollkeeper \ --disable-startup-notification \ - --enable-unique \ - --disable-gnucat || return 1 - # --with-gtk=3.0 + --enable-unique --disable-gnucat || return 1 + # --with-gtk=3.0 make || return 1 } -- cgit v1.2.1 From bf8c191f9b9fa6211b1b0e09d783eb5546a79478 Mon Sep 17 00:00:00 2001 From: Perberos Date: Tue, 16 Oct 2012 18:06:28 -0300 Subject: adding gsettings install on PKGBUILD --- distro/archlinux/PKGBUILD | 9 +++++---- distro/archlinux/mate-desktop.install | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 distro/archlinux/mate-desktop.install (limited to 'distro/archlinux') diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD index 78d055b..5944a6a 100644 --- a/distro/archlinux/PKGBUILD +++ b/distro/archlinux/PKGBUILD @@ -1,16 +1,17 @@ pkgname=mate-desktop -pkgver=1.1.0 +pkgver=1.5.0 pkgrel=1 pkgdesc="Library with common API for various MATE modules" arch=(i686 x86_64) license=(GPL LGPL) -depends=('libunique' 'libmatenotify' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client' 'mate-conf') +depends=('libunique' 'libmatenotify' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client') makedepends=('mate-doc-utils' 'intltool') options=('!emptydirs' '!libtool') -url="http://matsusoft.com.ar/projects/mate/" +url="http://mate-desktop.org/" groups=('mate') source=() sha256sums=() +install=mate-desktop.install build() { cd "${srcdir}/../../../" @@ -22,7 +23,7 @@ build() { --disable-static \ --disable-scrollkeeper \ --disable-startup-notification \ - --enable-unique --disable-gnucat || return 1 + --enable-unique || return 1 # --with-gtk=3.0 make || return 1 } diff --git a/distro/archlinux/mate-desktop.install b/distro/archlinux/mate-desktop.install new file mode 100644 index 0000000..bf325ea --- /dev/null +++ b/distro/archlinux/mate-desktop.install @@ -0,0 +1,22 @@ +pkgname=mate-desktop + +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} -- cgit v1.2.1