summaryrefslogtreecommitdiff
path: root/distro/archlinux
diff options
context:
space:
mode:
authorPerberos <[email protected]>2012-10-16 14:11:12 -0700
committerPerberos <[email protected]>2012-10-16 14:11:12 -0700
commitc9d506b9f55c55fc4285edaa7703090019aa4490 (patch)
treebdc237436def3f0c9b5b583ae5edab4ae671959a /distro/archlinux
parentc460854d4fe90c8528b6c4d6427ed50fcae3a906 (diff)
parentbf8c191f9b9fa6211b1b0e09d783eb5546a79478 (diff)
downloadmate-desktop-c9d506b9f55c55fc4285edaa7703090019aa4490.tar.bz2
mate-desktop-c9d506b9f55c55fc4285edaa7703090019aa4490.tar.xz
Merge pull request #31 from perberos/master
algunos fixs en mate-desktop
Diffstat (limited to 'distro/archlinux')
-rw-r--r--distro/archlinux/PKGBUILD12
-rw-r--r--distro/archlinux/mate-desktop.install22
2 files changed, 28 insertions, 6 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
index fd7a1ba..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,9 +23,8 @@ build() {
--disable-static \
--disable-scrollkeeper \
--disable-startup-notification \
- --enable-unique \
- --disable-gnucat || return 1
- # --with-gtk=3.0
+ --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
+}