[arch-commits] Commit in glade/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Jul 19 07:31:53 UTC 2018


    Date: Thursday, July 19, 2018 @ 07:31:53
  Author: foutrelis
Revision: 329028

archrelease: copy trunk to staging-x86_64

Added:
  glade/repos/staging-x86_64/
  glade/repos/staging-x86_64/PKGBUILD
    (from rev 329027, glade/trunk/PKGBUILD)

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

Copied: glade/repos/staging-x86_64/PKGBUILD (from rev 329027, glade/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-07-19 07:31:53 UTC (rev 329028)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=glade
+pkgver=3.22.1
+pkgrel=2
+pkgdesc="User Interface Builder for GTK+ applications"
+url="https://glade.gnome.org/"
+arch=(x86_64)
+license=(GPL LGPL)
+depends=(gtk3 libxml2)
+makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl git
+             gnome-common webkit2gtk)
+optdepends=('devhelp: development help')
+_commit=e73a66b3f36ed6c3d9086ad1a50a789f34502a72  # tags/GLADE_3_22_1^0
+source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GLADE_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list