[arch-commits] Commit in anjuta-extras/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 19 08:10:57 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:10:57
Author: foutrelis
Revision: 386178
archrelease: copy trunk to staging-x86_64
Added:
anjuta-extras/repos/staging-x86_64/
anjuta-extras/repos/staging-x86_64/PKGBUILD
(from rev 386176, anjuta-extras/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: anjuta-extras/repos/staging-x86_64/PKGBUILD (from rev 386176, anjuta-extras/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:10:57 UTC (rev 386178)
@@ -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