Date: Saturday, September 24, 2016 @ 12:37:43
  Author: arojas
Revision: 190255

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 190254, atril/trunk/PKGBUILD)
  atril/repos/community-staging-x86_64/
  atril/repos/community-staging-x86_64/PKGBUILD
    (from rev 190254, atril/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: atril/repos/community-staging-i686/PKGBUILD (from rev 190254, 
atril/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-09-24 12:37:43 UTC (rev 190255)
@@ -0,0 +1,52 @@
+# Contributor: Martin Wimpress <c...@flexion.org>
+
+_ver=1.16
+_pkgbase=atril
+pkgname=(${_pkgbase})
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="MATE document viewer (GTK2 version)"
+url="http://mate-desktop.org";
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('mate-desktop' 'djvulibre' 'libspectre' 'libgxps' 'mathjax' 
'poppler-glib' 'webkitgtk2')
+makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
+optdepends=('caja: Document Properties extension'
+            'texlive-bin: DVI support')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz";)
+sha1sums=('0573c0afdc81f29115409c42e06bd4fecb785302')
+
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+    # Fix mathjax path
+    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' 
backend/epub/epub-document.c
+}
+
+build() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-djvu \
+        --enable-dvi \
+        --enable-epub \
+        --enable-t1lib \
+        --enable-pixbuf \
+        --enable-comics \
+        --enable-xps \
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Copied: atril/repos/community-staging-x86_64/PKGBUILD (from rev 190254, 
atril/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-09-24 12:37:43 UTC (rev 190255)
@@ -0,0 +1,52 @@
+# Contributor: Martin Wimpress <c...@flexion.org>
+
+_ver=1.16
+_pkgbase=atril
+pkgname=(${_pkgbase})
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="MATE document viewer (GTK2 version)"
+url="http://mate-desktop.org";
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('mate-desktop' 'djvulibre' 'libspectre' 'libgxps' 'mathjax' 
'poppler-glib' 'webkitgtk2')
+makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
+optdepends=('caja: Document Properties extension'
+            'texlive-bin: DVI support')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz";)
+sha1sums=('0573c0afdc81f29115409c42e06bd4fecb785302')
+
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+    # Fix mathjax path
+    sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' 
backend/epub/epub-document.c
+}
+
+build() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    ./configure \
+        --prefix=/usr \
+        --libexecdir=/usr/lib/${_pkgbase} \
+        --with-gtk=2.0 \
+        --enable-djvu \
+        --enable-dvi \
+        --enable-epub \
+        --enable-t1lib \
+        --enable-pixbuf \
+        --enable-comics \
+        --enable-xps \
+        --enable-introspection
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}

Reply via email to