summaryrefslogtreecommitdiff
path: root/distro/archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'distro/archlinux')
-rw-r--r--distro/archlinux/PKGBUILD44
1 files changed, 25 insertions, 19 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
index a9518f52..f6896b86 100644
--- a/distro/archlinux/PKGBUILD
+++ b/distro/archlinux/PKGBUILD
@@ -1,8 +1,8 @@
pkgname=mate-document-viewer
-pkgver=2011.08.31
-pkgrel=2
+pkgver=2011.11.09
+pkgrel=1
pkgdesc="Simply a document viewer"
-url="http://projects.gnome.org/evince/"
+url="https://github.com/perberos/mate-document-viewer"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk2' 'libspectre' 'gsfonts' 'poppler-glib' 'djvulibre' 'mate-icon-theme'
@@ -13,27 +13,33 @@ groups=('mate-extra')
install=mate-document-viewer.install
options=('!libtool' '!emptydirs')
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
-sha256sums=('4adbcfab482edaa5e873131421ee27cd7d90e2a9745acf64f90de7d8725a4583')
+sha256sums=('664cb1866c5905ef73bf00104e12ee73a8b1759d10859e94a87260fd732705e3')
build() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${pkgname}"
- ./autogen.sh --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --libexecdir=/usr/lib/${pkgname} \
- --disable-static --enable-caja \
- --enable-pdf --enable-tiff \
- --enable-djvu --enable-dvi \
- --enable-t1lib --enable-comics \
- --disable-scrollkeeper \
- --enable-introspection || return 1
- make || return 1
+ ./autogen.sh --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/${pkgname} \
+ --disable-static \
+ --enable-caja \
+ --enable-pdf \
+ --enable-tiff \
+ --enable-djvu \
+ --enable-dvi \
+ --enable-t1lib \
+ --enable-comics \
+ --disable-scrollkeeper \
+ --enable-introspection || return 1
+ make || return 1
}
package() {
- cd "${srcdir}/${pkgname}"
- make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+ cd "${srcdir}/${pkgname}"
+ make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
- 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
+ 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
}