[arch-commits] Commit in anjuta-extras/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Nov 19 14:48:56 UTC 2017


    Date: Sunday, November 19, 2017 @ 14:48:55
  Author: jgc
Revision: 310437

upgpkg: anjuta-extras 3.26.0+4+gb876d84-1

Modified:
  anjuta-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-19 14:44:25 UTC (rev 310436)
+++ PKGBUILD	2017-11-19 14:48:55 UTC (rev 310437)
@@ -3,20 +3,36 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=anjuta-extras
-pkgver=3.10.0
-pkgrel=4
+pkgver=3.26.0+4+gb876d84
+pkgrel=1
 pkgdesc="Anjuta Integrated Development Environment extra plugins"
 arch=('x86_64')
 license=('GPL')
 depends=('anjuta')
-makedepends=('intltool' 'itstool')
+makedepends=('intltool' 'itstool' git gnome-common)
 url="http://www.anjuta.org/"
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+_commit=b876d8471853396e10e27a0056aa311d0ae535f7  # master
+source=("git+https://git.gnome.org/browse/anjuta-extras#commit=$_commit")
 options=('!emptydirs')
-sha256sums=('92f92e3c530f5649edfe4d8645e8cfd3161383cbc486c636ebb24cf2d2642213')
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^ANJUTA_EXTRA_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -23,6 +39,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list