summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'distro/archlinux/PKGBUILD')
-rw-r--r--distro/archlinux/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
index be6645c7..d0934c9e 100644
--- a/distro/archlinux/PKGBUILD
+++ b/distro/archlinux/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=mate-document-viewer
-pkgver=2011.11.09
-pkgrel=1
+pkgver=2011.11.21
+pkgrel=3
pkgdesc="Simply a document viewer"
url="https://github.com/perberos/mate-document-viewer"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk2' 'libspectre' 'gsfonts' 'poppler-glib' 'djvulibre' 'mate-icon-theme'
- 't1lib' 'libmatekeyring' 'desktop-file-utils') # 'dconf' 'gsettings-desktop-schemas'
-makedepends=('mate-doc-utils' 'mate-file-manager' 'texlive-bin' 'intltool' 'gobject-introspection')
+ 't1lib' 'libmatekeyring' 'desktop-file-utils' 'texlive-bin') # 'dconf' 'gsettings-desktop-schemas'
+makedepends=('mate-doc-utils' 'mate-file-manager' 'intltool' 'gobject-introspection')
optdepends=('texlive-bin: DVI support')
groups=('mate-extra')
install=mate-document-viewer.install
@@ -18,10 +18,11 @@ sha256sums=('98f9d51bf648b199c80d1fba00fa56e99c7ba10d40c23422913f00c9cec84ef9')
build() {
cd "${srcdir}/${pkgname}"
- ./autogen.sh --prefix=/usr \
+ ./autogen.sh \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --libexecdir=/usr/lib/${pkgname} \
+ --libexecdir=/usr/lib/mate-document-viewer \
--disable-static \
--enable-caja \
--enable-pdf \
@@ -31,7 +32,8 @@ build() {
--enable-t1lib \
--enable-comics \
--disable-scrollkeeper \
- --enable-introspection || return 1
+ --enable-introspection \
+ --disable-schemas-install || return 1
make || return 1
}
@@ -39,6 +41,8 @@ package() {
cd "${srcdir}/${pkgname}"
make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+ ln -s atril ${pkgdir}/usr/bin/mate-document-viewer
+
install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas
rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas