summaryrefslogtreecommitdiff
path: root/user/libglade/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-24 14:05:19 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-24 14:05:19 -0500
commitf10edde9300f27f153d17878a077ed1c58908e18 (patch)
treebd017f149361badc1a6a70ebb7c55a732906ffc4 /user/libglade/APKBUILD
parent38fd24f80835aa4ad836fed6d5d0f3ef96356a2f (diff)
downloadpackages-f10edde9300f27f153d17878a077ed1c58908e18.tar.gz
packages-f10edde9300f27f153d17878a077ed1c58908e18.tar.bz2
packages-f10edde9300f27f153d17878a077ed1c58908e18.tar.xz
packages-f10edde9300f27f153d17878a077ed1c58908e18.zip
user/libglade: new package
Diffstat (limited to 'user/libglade/APKBUILD')
-rw-r--r--user/libglade/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/libglade/APKBUILD b/user/libglade/APKBUILD
new file mode 100644
index 000000000..97d20f603
--- /dev/null
+++ b/user/libglade/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libglade
+pkgver=2.6.4
+pkgrel=0
+pkgdesc="GUI construction toolkit for GTK+ 2"
+url="https://gnome.org"
+arch="all"
+license="LGPL-2.0+ AND GPL-2.0+"
+depends=""
+makedepends="gtk+2.0-dev libxml2-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/libglade/${pkgver%.*}/libglade-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="b725842febaf4c1f0d305a629ae1c61ea2de24dd6f41937e806c078fada2cea483195ef40f5238ce2045e47130c92559e984f677de667b840dd7fff0f8559735 libglade-2.6.4.tar.bz2"