[arch-commits] Commit in glade/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Sep 24 00:51:07 UTC 2016
Date: Saturday, September 24, 2016 @ 00:51:06
Author: heftig
Revision: 276894
3.20.0+19+g0aaed6f-1
Modified:
glade/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++++++---------
1 file changed, 21 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-24 00:34:33 UTC (rev 276893)
+++ PKGBUILD 2016-09-24 00:51:06 UTC (rev 276894)
@@ -3,28 +3,40 @@
# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
pkgname=glade
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.20.0+19+g0aaed6f
+pkgrel=1
pkgdesc="User interface builder for GTK+ and GNOME."
arch=(i686 x86_64)
license=(GPL LGPL)
depends=(gtk3 libxml2)
-makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl)
+makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl git
+ gnome-common)
optdepends=('python: Python widgets support'
'devhelp: help browser')
url="https://glade.gnome.org/"
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('82d96dca5dec40ee34e2f41d49c13b4ea50da8f32a3a49ca2da802ff14dc18fe')
+_commit=0aaed6fe5f2e6f456e8fa4a2be95e08215c901c4
+source=("git://git.gnome.org/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-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
+ 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-$pkgver"
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list