summaryrefslogtreecommitdiffstats
path: root/main/glade/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/glade/APKBUILD')
-rw-r--r--main/glade/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/glade/APKBUILD b/main/glade/APKBUILD
new file mode 100644
index 000000000..e30addc1c
--- /dev/null
+++ b/main/glade/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=glade
+pkgver=3.10.0
+pkgrel=2
+pkgdesc="User Interface Designer for GTK+ and GNOME"
+url="http://glade.gnome.org/"
+arch="all"
+license="GPL"
+depends=
+makedepends="gtk+3.0-dev libxml2-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnome.org/pub/GNOME/sources/glade/${pkgver%.*}/glade-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+
+md5sums="70c61582bdc6e9a852b29f3d172ddd4e glade-3.10.0.tar.bz2"