[arch-commits] Commit in atril/repos (6 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Wed Mar 5 23:01:18 UTC 2014
Date: Thursday, March 6, 2014 @ 00:01:18
Author: flexiondotorg
Revision: 106601
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 106600, atril/trunk/PKGBUILD)
atril/repos/community-staging-i686/atril.install
(from rev 106600, atril/trunk/atril.install)
atril/repos/community-staging-x86_64/
atril/repos/community-staging-x86_64/PKGBUILD
(from rev 106600, atril/trunk/PKGBUILD)
atril/repos/community-staging-x86_64/atril.install
(from rev 106600, atril/trunk/atril.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 57 +++++++++++++++++++++++++++++++
community-staging-i686/atril.install | 13 +++++++
community-staging-x86_64/PKGBUILD | 57 +++++++++++++++++++++++++++++++
community-staging-x86_64/atril.install | 13 +++++++
4 files changed, 140 insertions(+)
Copied: atril/repos/community-staging-i686/PKGBUILD (from rev 106600, atril/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-03-05 23:01:18 UTC (rev 106601)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=atril
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Simply a document viewer"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+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'
+ 'unrar: cbr compressed comic books'
+ 'yelp: for reading MATE help documents')
+replaces=('mate-document-viewer')
+provides=('mate-document-viewer')
+conflicts=('mate-document-viewer')
+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
+}
Copied: atril/repos/community-staging-i686/atril.install (from rev 106600, atril/trunk/atril.install)
===================================================================
--- community-staging-i686/atril.install (rev 0)
+++ community-staging-i686/atril.install 2014-03-05 23:01:18 UTC (rev 106601)
@@ -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 106600, atril/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-03-05 23:01:18 UTC (rev 106601)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=atril
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Simply a document viewer"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+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'
+ 'unrar: cbr compressed comic books'
+ 'yelp: for reading MATE help documents')
+replaces=('mate-document-viewer')
+provides=('mate-document-viewer')
+conflicts=('mate-document-viewer')
+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
+}
Copied: atril/repos/community-staging-x86_64/atril.install (from rev 106600, atril/trunk/atril.install)
===================================================================
--- community-staging-x86_64/atril.install (rev 0)
+++ community-staging-x86_64/atril.install 2014-03-05 23:01:18 UTC (rev 106601)
@@ -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
+}
More information about the arch-commits
mailing list