[arch-commits] Commit in (4 files)

Jan Steffens heftig at archlinux.org
Sun Mar 14 23:26:48 UTC 2021


    Date: Sunday, March 14, 2021 @ 23:26:47
  Author: heftig
Revision: 891343

extra2community: Moving anjuta-extras from extra to community

Added:
  anjuta-extras/
  anjuta-extras/repos/
  anjuta-extras/trunk/
  anjuta-extras/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Added: anjuta-extras/trunk/PKGBUILD
===================================================================
--- anjuta-extras/trunk/PKGBUILD	                        (rev 0)
+++ anjuta-extras/trunk/PKGBUILD	2021-03-14 23:26:47 UTC (rev 891343)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=anjuta-extras
+pkgver=3.26.0+13+g8248f12
+pkgrel=2
+pkgdesc="Anjuta Integrated Development Environment extra plugins"
+url="http://www.anjuta.org/"
+arch=('x86_64')
+license=('GPL')
+depends=('anjuta')
+makedepends=('intltool' 'itstool' git gnome-common)
+_commit=8248f1220bedd6afdabb29711714cda725b2c35b  # master
+source=("git+https://gitlab.gnome.org/GNOME/anjuta-extras.git#commit=$_commit")
+options=('!emptydirs')
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^ANJUTA_EXTRA_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list