diff options
Diffstat (limited to 'main/libglade/APKBUILD')
-rw-r--r-- | main/libglade/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/libglade/APKBUILD b/main/libglade/APKBUILD new file mode 100644 index 000000000..b999bd4ae --- /dev/null +++ b/main/libglade/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libglade +pkgver=2.6.4 +pkgrel=0 +pkgdesc="Allows you to load glade interface files in a program at runtime" +url="http://www.gnome.org" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +makedepends="python pkgconfig gtk+-dev libxml2-dev gettext-dev libiconv-dev + expat-dev" +install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade + $pkgname.post-deinstall" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.6/$pkgname-$pkgver.tar.bz2 + $pkgname-2.0.1-nowarning.patch + $install + " + +depends_dev="gtk+-dev libxml2-dev" +build () +{ + cd "$srcdir"/$pkgname-$pkgver + patch -Np1 -i "$srcdir"/libglade-2.0.1-nowarning.patch || return 1 + ./configure --sysconfdir=/etc \ + --prefix=/usr \ + --localstatedir=/var || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -m755 libglade-convert "$pkgdir"/usr/bin/ || return 1 +} +md5sums="d1776b40f4e166b5e9c107f1c8fe4139 libglade-2.6.4.tar.bz2 +4f879c0ce550004905aa0fb24f25c353 libglade-2.0.1-nowarning.patch +9083bddf8edd4a116bec36df3866e9bf libglade.post-install +964867abf7ceafdce9640b08f34ce090 libglade.pre-upgrade +9083bddf8edd4a116bec36df3866e9bf libglade.post-upgrade +964867abf7ceafdce9640b08f34ce090 libglade.post-deinstall" |