pkgname: libglade pkgver: '2.6.4' pkgrel: '6' pkgdesc: 'Allows you to load glade interface files in a program at runtime' url: 'https://www.jamesh.id.au/software/libglade/' arch: x86_64 depends: [] makedepends: - gtk2 - libxml2 source: - 'https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info make make DESTDIR=${PKGDIR} install # Obsolet lib rm -f ${PKGDIR}/usr/lib/libglade-2.0.la package: | true update: | local latest lastversion url url="https://download.gnome.org/sources/${pkgname}" latest="`lynx -read_timeout=20 -dump -listonly -nonumbers \ $url/?C=N\;O=D|grep [0-9]/$|head -1`" lastversion="`lynx -read_timeout=20 -dump -listonly -nonumbers \ $latest/?C=N\;O=D|grep LATEST|grep [0-9]$|cut -d "-" -f3`" echo "$lastversion"