diff options
author | root <root@rshg054.dnsready.net> | 2012-09-25 00:23:17 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-25 00:23:17 -0700 |
commit | 9ddf3e5a94b0848cdf9e6ffcc586576bb614bc13 (patch) | |
tree | 6b81ad2acdf24efb0e3a131110ebe97d4b9ed599 /gnome-unstable/evince | |
parent | 8f0a971364bf8fee254a13a94adf2bfa9173e804 (diff) |
Tue Sep 25 00:23:14 PDT 2012
Diffstat (limited to 'gnome-unstable/evince')
-rw-r--r-- | gnome-unstable/evince/PKGBUILD | 36 | ||||
-rw-r--r-- | gnome-unstable/evince/evince.install | 13 |
2 files changed, 49 insertions, 0 deletions
diff --git a/gnome-unstable/evince/PKGBUILD b/gnome-unstable/evince/PKGBUILD new file mode 100644 index 000000000..d7760f1d8 --- /dev/null +++ b/gnome-unstable/evince/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 167028 2012-09-24 19:57:00Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=evince +pkgver=3.5.92 +pkgrel=1 +pkgdesc="Simply a document viewer" +url="http://projects.gnome.org/evince/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk3' 'libgxps' 'libspectre' 'gsfonts' 'poppler-glib' 'djvulibre' 'gnome-icon-theme' 't1lib' 'libgnome-keyring' 'desktop-file-utils' 'dconf' 'gsettings-desktop-schemas') +makedepends=('itstool' 'nautilus' 'texlive-bin' 'intltool' 'gobject-introspection' 'docbook-xsl') +optdepends=('texlive-bin: DVI support') +groups=('gnome-extra') +install=evince.install +options=('!libtool' '!emptydirs') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('47c5439fa2bac884881e23078d1055c5d8dee7fd93e5142b9d5545a095a166d6') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --libexecdir=/usr/lib/evince \ + --disable-static --enable-nautilus \ + --enable-pdf --enable-tiff \ + --enable-djvu --enable-dvi \ + --enable-t1lib --enable-comics \ + --disable-scrollkeeper --disable-schemas-compile \ + --enable-introspection + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/gnome-unstable/evince/evince.install b/gnome-unstable/evince/evince.install new file mode 100644 index 000000000..1571179ca --- /dev/null +++ b/gnome-unstable/evince/evince.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |