From e521b9d92957b2321a103d3ca8f356dd1ed72198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Thu, 13 Mar 2014 00:38:18 -0300 Subject: renamed mate-document-viewer-libre to atril-libre and mate-file-archiver-libre to engrampa-libre --- libre/atril-libre/PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++ libre/atril-libre/atril.install | 13 +++++++++ 2 files changed, 72 insertions(+) create mode 100644 libre/atril-libre/PKGBUILD create mode 100644 libre/atril-libre/atril.install (limited to 'libre/atril-libre') diff --git a/libre/atril-libre/PKGBUILD b/libre/atril-libre/PKGBUILD new file mode 100644 index 000000000..3f5b92481 --- /dev/null +++ b/libre/atril-libre/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 106531 2014-03-05 20:16:04Z flexiondotorg $ +# Maintainer : Martin Wimpress +# Maintainer (Parabola): André Silva + +_pkgname=atril +pkgname=atril-libre +pkgver=1.8.0 +pkgrel=1 +pkgdesc="Simply a document viewer, with libarchive recommendation" +url="http://mate-desktop.org" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk2' 'libsm' 'libspectre' + 'mate-desktop' 'mate-icon-theme' 'poppler-glib' 'zlib') +makedepends=('caja' 'djvulibre' 'gobject-introspection' 'libgxps' 'mate-common' + 'perl-xml-parser' 'texlive-bin' 'yelp-tools') +optdepends=('caja: Document Properties extension' + 'djvulibre: DjVu support' + 'libgxps: XPS support' + 'p7zip: cbz and cb7 compressed comic books' + 'texlive-bin: DVI support' + 'libarchive: cbr compressed comic books' + 'yelp: for reading MATE help documents') +replaces=('mate-document-viewer' "$_pkgname") +provides=('mate-document-viewer' "$_pkgname=$pkgver") +conflicts=('mate-document-viewer' "$_pkgname") +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz") +sha1sums=('8327437ba12df61326b83342cea746d1764727d0') +install=${_pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${_pkgname} \ + --with-gtk=2.0 \ + --enable-gtk-doc \ + --enable-djvu \ + --enable-dvi \ + --enable-t1lib \ + --enable-pixbuf \ + --enable-comics \ + --enable-xps \ + --enable-introspection \ + --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/libre/atril-libre/atril.install b/libre/atril-libre/atril.install new file mode 100644 index 000000000..bf6781f93 --- /dev/null +++ b/libre/atril-libre/atril.install @@ -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 +} -- cgit v1.2.3-2-g168b