[arch-commits] Commit in glade/repos (2 files)
Jan Steffens
heftig at archlinux.org
Wed Mar 14 18:18:41 UTC 2018
Date: Wednesday, March 14, 2018 @ 18:18:41
Author: heftig
Revision: 318986
archrelease: copy trunk to gnome-unstable-x86_64
Added:
glade/repos/gnome-unstable-x86_64/
glade/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 318985, glade/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: glade/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318985, glade/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-14 18:18:41 UTC (rev 318986)
@@ -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.0+9+g5ec4d708
+pkgrel=1
+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=5ec4d70853874b8b64f9d4317a8dc262b9d0f27f # master
+source=("git+https://git.gnome.org/browse/glade#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