[arch-commits] Commit in gnome-latex/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Oct 2 21:11:48 UTC 2020


    Date: Friday, October 2, 2020 @ 21:11:48
  Author: heftig
Revision: 715704

3.38.0-1

Modified:
  gnome-latex/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-02 21:11:17 UTC (rev 715703)
+++ PKGBUILD	2020-10-02 21:11:48 UTC (rev 715704)
@@ -3,7 +3,7 @@
 # Contributor: Bernd Prünster (JesusMcCloud) <aur at berndpruenster.org>
 
 pkgname=gnome-latex
-pkgver=3.36.0
+pkgver=3.38.0
 pkgrel=1
 pkgdesc="LaTeX editor for the GNOME desktop"
 arch=(x86_64)
@@ -10,19 +10,35 @@
 url="https://wiki.gnome.org/Apps/GNOME-LaTeX"
 license=(GPL3)
 depends=(gsettings-desktop-schemas gspell libgee tepl)
-makedepends=(gobject-introspection intltool itstool vala)
+makedepends=(gobject-introspection intltool itstool vala git gtk-doc yelp-tools
+             autoconf-archive appstream-glib)
 optdepends=('texlive-core: build LaTeX documents')
 replaces=(latexila)
-source=("https://download.gnome.org/sources/gnome-latex/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('1657238f4e2b419fe211e4b0b51a20889f44e6e3f498b87e25e032f8439ec9a0')
+_commit=15076c006070cbc495f5b2afb095c0ec092291aa  # tags/3.38.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-latex.git#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd $pkgname
+  ./configure --prefix=/usr --enable-gtk-doc
   make
 }
 
+check() {
+  make -C $pkgname check
+}
+
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list