summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTingPing2015-06-08 22:06:59 -0400
committerTingPing2015-06-08 22:06:59 -0400
commit1e97f7459a36b9c48b28c96bf8af43ebc51fffb1 (patch)
treed34c82a124183420df9bd14e2f8c2e0bf1a44799
downloadaur-1e97f7459a36b9c48b28c96bf8af43ebc51fffb1.tar.gz
Initial import
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD40
-rw-r--r--glade.install12
3 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b0675a88a7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = glade-git
+ pkgdesc = User interface builder for GTK+ and GNOME.
+ pkgver = 3.18.0.55f8a6d
+ pkgrel = 1
+ url = http://glade.gnome.org/
+ install = glade.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ makedepends = intltool
+ makedepends = gtk-doc
+ makedepends = gobject-introspection
+ makedepends = python2-gobject
+ makedepends = itstool
+ makedepends = docbook-xsl
+ makedepends = gnome-common
+ depends = gtk3
+ depends = libxml2
+ depends = desktop-file-utils
+ depends = hicolor-icon-theme
+ optdepends = python2: Python widgets support
+ optdepends = devhelp: help browser
+ provides = glade
+ conflicts = glade
+ source = git://git.gnome.org/glade
+ sha256sums = SKIP
+
+pkgname = glade-git
+
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
+}
diff --git a/glade.install b/glade.install
new file mode 100644
index 00000000000..bce670aff4a
--- /dev/null
+++ b/glade.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}