[arch-commits] Commit in anjuta-extras/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sun Mar 14 23:26:50 UTC 2021
Date: Sunday, March 14, 2021 @ 23:26:50
Author: heftig
Revision: 891344
archrelease: copy trunk to community-x86_64
Added:
anjuta-extras/repos/community-x86_64/
anjuta-extras/repos/community-x86_64/PKGBUILD
(from rev 891343, anjuta-extras/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: anjuta-extras/repos/community-x86_64/PKGBUILD (from rev 891343, anjuta-extras/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-03-14 23:26:50 UTC (rev 891344)
@@ -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