[arch-commits] Commit in atril/repos/community-x86_64 (PKGBUILD PKGBUILD)
Brad Fanella
cesura at archlinux.org
Wed Aug 15 12:23:40 UTC 2018
Date: Wednesday, August 15, 2018 @ 12:23:40
Author: cesura
Revision: 371732
archrelease: copy trunk to community-x86_64
Added:
atril/repos/community-x86_64/PKGBUILD
(from rev 371731, atril/trunk/PKGBUILD)
Deleted:
atril/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-15 12:23:15 UTC (rev 371731)
+++ PKGBUILD 2018-08-15 12:23:40 UTC (rev 371732)
@@ -1,52 +0,0 @@
-# Maintainer: Brad Fanella <cesura at archlinux.org>
-# Contributor: Martin Wimpress <code at flexion.org>
-
-pkgname=atril
-pkgver=1.20.1
-pkgrel=1
-pkgdesc="MATE document viewer"
-url="https://mate-desktop.org"
-arch=('x86_64')
-license=('GPL')
-depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk')
-makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
-optdepends=('caja: Document Properties extension'
- 'texlive-bin: DVI support')
-groups=('mate-extra')
-conflicts=('atril-gtk3')
-replaces=('atril-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('25f44a7cfde76d9e2e5909351f0fe445b4e00d8e6e3862befff462f52487d5c8')
-
-prepare() {
- cd $pkgname-$pkgver
-
- # Fix mathjax path
- sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
-}
-
-build() {
- cd $pkgname-$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 $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: atril/repos/community-x86_64/PKGBUILD (from rev 371731, atril/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-15 12:23:40 UTC (rev 371732)
@@ -0,0 +1,52 @@
+# Maintainer: Brad Fanella <cesura at archlinux.org>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=atril
+pkgver=1.20.2
+pkgrel=1
+pkgdesc="MATE document viewer"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax' 'poppler-glib' 'webkit2gtk')
+makedepends=('caja' 'gobject-introspection' 'intltool' 'itstool' 'texlive-bin')
+optdepends=('caja: Document Properties extension'
+ 'texlive-bin: DVI support')
+groups=('mate-extra')
+conflicts=('atril-gtk3')
+replaces=('atril-gtk3')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('4793d9f9ada26659e5bd2bf5c9be0106b231543d25d4bd7172fbe2ec59d25de3')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Fix mathjax path
+ sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax|' backend/epub/epub-document.c
+}
+
+build() {
+ cd $pkgname-$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 $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list