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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 06:51:31 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:51:29
  Author: felixonmars
Revision: 365822

archrelease: copy trunk to staging-x86_64

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

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

Copied: glade/repos/staging-x86_64/PKGBUILD (from rev 365821, glade/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-10-26 06:51:29 UTC (rev 365822)
@@ -0,0 +1,40 @@
+# 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=3
+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