summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distro/archlinux/PKGBUILD9
-rw-r--r--distro/archlinux/mate-desktop.install22
2 files changed, 27 insertions, 4 deletions
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
+}