aboutsummaryrefslogtreecommitdiffstats
path: root/main/libglade/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 04:54:32 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-12 15:03:10 +0000
commitf2f7901cf87b16cf3c678aa241d7faffa9b25ced (patch)
treeed0bd5cbb7cc51601af320c0fc2e35b0427d0363 /main/libglade/APKBUILD
parent111a9cd29480fb359029374fe4d1e692372ea1dc (diff)
downloadaports-f2f7901cf87b16cf3c678aa241d7faffa9b25ced.tar.bz2
aports-f2f7901cf87b16cf3c678aa241d7faffa9b25ced.tar.xz
main/libglade: drop python2
Diffstat (limited to 'main/libglade/APKBUILD')
-rw-r--r--main/libglade/APKBUILD36
1 files changed, 15 insertions, 21 deletions
diff --git a/main/libglade/APKBUILD b/main/libglade/APKBUILD
index 62943b773c..8e0880c0c8 100644
--- a/main/libglade/APKBUILD
+++ b/main/libglade/APKBUILD
@@ -1,54 +1,48 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libglade
pkgver=2.6.4
-pkgrel=14
+pkgrel=15
pkgdesc="Allows you to load glade interface files in a program at runtime"
url="http://www.gnome.org"
arch="all"
-license="LGPL"
+license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc"
depends="libxml2-utils"
depends_dev="gtk+2.0-dev libxml2-dev"
-makedepends="$depends_dev python2 autoconf automake libtool"
+makedepends="$depends_dev autoconf automake libtool"
install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade
$pkgname.post-deinstall"
-source="https://download.gnome.org/sources/$pkgname/2.6/$pkgname-$pkgver.tar.bz2
+source="https://download.gnome.org/sources/libglade/2.6/libglade-$pkgver.tar.bz2
$pkgname-2.0.1-nowarning.patch
libglade-gmodule.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ default_prepare
+ update_config_sub
libtoolize --force && aclocal && autoheader && autoconf \
- && automake --add-missing || return 1
+ && automake --add-missing
}
build() {
- cd "$_builddir"
- sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || return 1
+ cd "$builddir"
+ sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
--prefix=/usr \
--disable-static \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- install -m755 libglade-convert "$pkgdir"/usr/bin/ || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -m755 libglade-convert "$pkgdir"/usr/bin/
}
md5sums="d1776b40f4e166b5e9c107f1c8fe4139 libglade-2.6.4.tar.bz2