Date: Monday, December 7, 2015 @ 06:24:08 Author: arojas Revision: 149580
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: atril/repos/community-staging-i686/ atril/repos/community-staging-i686/PKGBUILD (from rev 149579, atril/trunk/PKGBUILD) atril/repos/community-staging-i686/atril.install (from rev 149579, atril/trunk/atril.install) atril/repos/community-staging-x86_64/ atril/repos/community-staging-x86_64/PKGBUILD (from rev 149579, atril/trunk/PKGBUILD) atril/repos/community-staging-x86_64/atril.install (from rev 149579, atril/trunk/atril.install) ----------------------------------------+ community-staging-i686/PKGBUILD | 49 +++++++++++++++++++++++++++++++ community-staging-i686/atril.install | 13 ++++++++ community-staging-x86_64/PKGBUILD | 49 +++++++++++++++++++++++++++++++ community-staging-x86_64/atril.install | 13 ++++++++ 4 files changed, 124 insertions(+) Copied: atril/repos/community-staging-i686/PKGBUILD (from rev 149579, atril/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-07 05:24:08 UTC (rev 149580) @@ -0,0 +1,49 @@ +# Maintainer : Martin Wimpress <c...@flexion.org> + +_ver=1.12 +_pkgbase=atril +pkgname=(${_pkgbase}) +pkgver=${_ver}.1 +pkgrel=2 +pkgdesc="MATE document viewer (GTK2 version)" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk2' 'libsecret' 'libsm' 'libspectre' + 'mate-desktop>=1.12' 'mathjax' 'poppler-glib' 'webkitgtk2' 'zlib') +makedepends=('caja>=1.12' 'djvulibre' 'gobject-introspection' 'libgxps' + 'mate-common' 'texlive-bin' 'yelp-tools') +optdepends=('caja: Document Properties extension' + 'djvulibre: DjVu support' + 'libgxps: XPS support' + 'texlive-bin: DVI support' + 'yelp: for reading MATE help documents') +groups=('mate-extra') +conflicts=("${_pkgbase}-gtk3") +source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz") +sha1sums=('06787a4ff05ce7698a99849850fafa66206b5e4d') +install=${_pkgbase}.install + +build() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${_pkgbase} \ + --with-gtk=2.0 \ + --enable-gtk-doc \ + --enable-djvu \ + --enable-dvi \ + --enable-epub \ + --enable-t1lib \ + --enable-pixbuf \ + --enable-comics \ + --enable-xps \ + --enable-introspection \ + --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} Copied: atril/repos/community-staging-i686/atril.install (from rev 149579, atril/trunk/atril.install) =================================================================== --- community-staging-i686/atril.install (rev 0) +++ community-staging-i686/atril.install 2015-12-07 05:24:08 UTC (rev 149580) @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: atril/repos/community-staging-x86_64/PKGBUILD (from rev 149579, atril/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-07 05:24:08 UTC (rev 149580) @@ -0,0 +1,49 @@ +# Maintainer : Martin Wimpress <c...@flexion.org> + +_ver=1.12 +_pkgbase=atril +pkgname=(${_pkgbase}) +pkgver=${_ver}.1 +pkgrel=2 +pkgdesc="MATE document viewer (GTK2 version)" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk2' 'libsecret' 'libsm' 'libspectre' + 'mate-desktop>=1.12' 'mathjax' 'poppler-glib' 'webkitgtk2' 'zlib') +makedepends=('caja>=1.12' 'djvulibre' 'gobject-introspection' 'libgxps' + 'mate-common' 'texlive-bin' 'yelp-tools') +optdepends=('caja: Document Properties extension' + 'djvulibre: DjVu support' + 'libgxps: XPS support' + 'texlive-bin: DVI support' + 'yelp: for reading MATE help documents') +groups=('mate-extra') +conflicts=("${_pkgbase}-gtk3") +source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz") +sha1sums=('06787a4ff05ce7698a99849850fafa66206b5e4d') +install=${_pkgbase}.install + +build() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${_pkgbase} \ + --with-gtk=2.0 \ + --enable-gtk-doc \ + --enable-djvu \ + --enable-dvi \ + --enable-epub \ + --enable-t1lib \ + --enable-pixbuf \ + --enable-comics \ + --enable-xps \ + --enable-introspection \ + --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} Copied: atril/repos/community-staging-x86_64/atril.install (from rev 149579, atril/trunk/atril.install) =================================================================== --- community-staging-x86_64/atril.install (rev 0) +++ community-staging-x86_64/atril.install 2015-12-07 05:24:08 UTC (rev 149580) @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}