diff options
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | distro/archlinux/PKGBUILD | 44 |
2 files changed, 28 insertions, 22 deletions
diff --git a/Makefile.am b/Makefile.am index eccc1556..7370019a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,12 +96,12 @@ DISTCHECK_CONFIGURE_FLAGS = \ # Ignore scrollkeeper issues for now. @#*$& scrollkeeper distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | grep -v /share/mate/help/ | grep -v \.omf -distclean-local: +distclean-local: \ if test "$(srcdir)" = "."; then :; else \ - rm -f ChangeLog; \ + rm -f ChangeLog; \ fi -ChangeLog: +ChangeLog: \ $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \ (GIT_DIR=$(top_srcdir)/.git ./missing --run git log -M -C --name-status --date=short --no-color) | fmt --split-only > [email protected] \ && mv -f [email protected] $@ \ 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 } |