Date: Sunday, November 19, 2017 @ 14:26:45
  Author: jgc
Revision: 310429

upgpkg: anjuta 3.26.0-1

Revert to tarball build. git does not build anymore

Modified:
  anjuta/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-11-19 09:55:01 UTC (rev 310428)
+++ PKGBUILD    2017-11-19 14:26:45 UTC (rev 310429)
@@ -4,35 +4,32 @@
 
 pkgbase=anjuta
 pkgname=('libanjuta' 'anjuta')
-pkgver=3.22.0+1+g2bd433c
+pkgver=3.26.0
 pkgrel=1
 pkgdesc="GNOME Integrated Development Environment (IDE)"
 arch=(x86_64)
 license=(GPL)
-makedepends=(gdl vte3 autogen devhelp glade libgda subversion neon vala dconf 
gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs git)
+makedepends=(gdl vte3 autogen devhelp glade libgda subversion neon vala dconf 
gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs git 
python)
 url="http://www.anjuta.org/";
 options=('!emptydirs')
-_commit=2bd433c19394b9e2a04a41e2f2e5d89113627c40  # gnome-3-22
-source=("git://git.gnome.org/anjuta#commit=$_commit")
-sha256sums=('SKIP')
+_commit=aaadfafe19450d8524400af9ae09d5187b2d627a  # master
+source=(https://download.gnome.org/sources/$pkgbase/3.26/$pkgbase-$pkgver.tar.xz)
+sha256sums=('fb895464c1a3c915bb2bb3ea5d236fd17202caa7205f6792f70a75affc343d70')
 
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/^ANJUTA_//;s/_/./g;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-  sed -i -e 's/\[0\.30\], \[0\.32\]/[0.30], [0.32], [0.34]/' configure.ac
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd $pkgbase
+  cd $pkgbase-$pkgver
 
   ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --enable-glade-catalog 
--enable-compile-warnings=minimum --enable-gtk-doc \
-      PYTHON=/usr/bin/python2
+      --localstatedir=/var \
+      --disable-compile-warnings \
+      --disable-schemas-compile \
+      --disable-silent-rules \
+      --disable-static \
+      --enable-introspection \
+      --enable-plugin-devhelp \
+      --enable-plugin-glade \
+      --enable-plugin-subversion \
+      --enable-glade-catalog --enable-gtk-doc
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
@@ -42,7 +39,7 @@
   depends=(gdl)
   conflicts=('anjuta<3.4.4')
 
-  cd $pkgbase/libanjuta
+  cd $pkgbase-$pkgver/libanjuta
 
   # j1: Race during linking
   make -j1 DESTDIR="$pkgdir" install
@@ -53,7 +50,7 @@
   depends=(libanjuta vte3 autogen devhelp glade libgda subversion neon vala 
dconf)
   groups=('gnome-extra')
 
-  cd $pkgbase
+  cd $pkgbase-$pkgver
   make -j1 DESTDIR="$pkgdir" install
 
   cd libanjuta

Reply via email to