summaryrefslogtreecommitdiff
path: root/distro/archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'distro/archlinux')
-rw-r--r--distro/archlinux/PKGBUILD6
-rw-r--r--distro/archlinux/mate-document-viewer.install2
2 files changed, 7 insertions, 1 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
index d5871783..ff5dcfbd 100644
--- a/distro/archlinux/PKGBUILD
+++ b/distro/archlinux/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mate-document-viewer
pkgver=2011.11.21
-pkgrel=3
+pkgrel=1
pkgdesc="Simply a document viewer"
url="https://github.com/perberos/mate-document-viewer"
arch=('i686' 'x86_64')
@@ -31,9 +31,13 @@ build() {
--enable-dvi \
--enable-t1lib \
--enable-comics \
+ --enable-pixbuf \
+ --enable-impress \
--disable-scrollkeeper \
--enable-introspection \
+ --disable-schemas-compile \
--disable-schemas-install || return 1
+
make || return 1
}
diff --git a/distro/archlinux/mate-document-viewer.install b/distro/archlinux/mate-document-viewer.install
index cb30f7de..4dd1d023 100644
--- a/distro/archlinux/mate-document-viewer.install
+++ b/distro/archlinux/mate-document-viewer.install
@@ -1,6 +1,7 @@
pkgname=mate-document-viewer
post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
usr/sbin/mateconfpkg --install ${pkgname}
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
@@ -22,6 +23,7 @@ pre_remove() {
}
post_remove() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
update-mime-database usr/share/mime > /dev/null