[arch-commits] Commit in atril/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Fri Oct 4 11:57:38 UTC 2019
Date: Friday, October 4, 2019 @ 11:57:38
Author: bgyorgy
Revision: 512713
archrelease: copy trunk to community-x86_64
Added:
atril/repos/community-x86_64/PKGBUILD
(from rev 512712, atril/trunk/PKGBUILD)
Deleted:
atril/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 51 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-04 11:57:34 UTC (rev 512712)
+++ PKGBUILD 2019-10-04 11:57:38 UTC (rev 512713)
@@ -1,49 +0,0 @@
-# Maintainer: Brad Fanella <cesura at archlinux.org>
-# Contributor: Martin Wimpress <code at flexion.org>
-
-pkgname=atril
-pkgver=1.22.2
-pkgrel=2
-pkgdesc="MATE document viewer"
-url="https://mate-desktop.org"
-arch=('x86_64')
-license=('GPL')
-depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax2' 'poppler-glib' 'webkit2gtk' 'caja' 'texlive-bin')
-makedepends=('gobject-introspection' 'intltool' 'itstool')
-groups=('mate-extra')
-conflicts=('atril-gtk3')
-replaces=('atril-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('dc692b9c2a2b8bdd7c36631a9f50fb19335f9ce36156464e967a7fdde7478786')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # Fix mathjax path
- sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax2|' backend/epub/epub-document.c
-}
-
-build() {
- cd "$pkgname-$pkgver"
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/${_pkgbase} \
- --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 512712, atril/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-04 11:57:38 UTC (rev 512713)
@@ -0,0 +1,51 @@
+# Maintainer: Brad Fanella <cesura at archlinux.org>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=atril
+pkgver=1.22.2
+pkgrel=3
+pkgdesc="MATE document viewer"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('djvulibre' 'libspectre' 'libgxps' 'mathjax2' '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=('dc692b9c2a2b8bdd7c36631a9f50fb19335f9ce36156464e967a7fdde7478786')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # Fix mathjax path
+ sed -i 's|/usr/share/javascript/mathjax|/usr/share/mathjax2|' backend/epub/epub-document.c
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --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