summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTingPing2015-06-08 22:06:59 -0400
committerTingPing2015-06-08 22:06:59 -0400
commit1e97f7459a36b9c48b28c96bf8af43ebc51fffb1 (patch)
treed34c82a124183420df9bd14e2f8c2e0bf1a44799 /PKGBUILD
downloadaur-1e97f7459a36b9c48b28c96bf8af43ebc51fffb1.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c53f5f15dc4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id$
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
+# Maintainer: TingPing <tingping@tingping.se>
+
+pkgname=glade-git
+_gitname=glade
+pkgver=3.18.0.55f8a6d
+pkgrel=1
+pkgdesc="User interface builder for GTK+ and GNOME."
+provides=('glade')
+conflicts=('glade')
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+depends=('gtk3' 'libxml2' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool' 'gtk-doc' 'gobject-introspection' 'python2-gobject' 'itstool' 'docbook-xsl'
+ 'gnome-common')
+optdepends=('python2: Python widgets support'
+ 'devhelp: help browser')
+url="http://glade.gnome.org/"
+install=glade.install
+source=("git://git.gnome.org/$_gitname")
+sha256sums=(SKIP)
+
+pkgver() {
+ cd "$_gitname"
+ rev=`git rev-parse --short HEAD`
+ echo "3.18.0.$rev"
+}
+
+build() {
+ cd "$_gitname"
+ PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "$_gitname"
+ make DESTDIR="$pkgdir" install
+}