🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
pkgname: libglade
pkgver: '2.6.4'
pkgrel: '8'
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:
- at-spi2-core
- cairo
- freetype
- gdk-pixbuf
- glib
- gtk2
- harfbuzz
- libxml2
- pango
- xorg-fontconfig
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"