mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
31 lines
963 B
Bash
31 lines
963 B
Bash
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: dorphell <dorphell@archlinux.org>
|
|
|
|
pkgname=glib
|
|
pkgver=1.2.10
|
|
pkgrel=8
|
|
pkgdesc="Common C routines used by Gtk+ and other libs"
|
|
arch=('arm')
|
|
url="http://www.gtk.org/"
|
|
license=('LGPL')
|
|
depends=('glibc' 'texinfo')
|
|
options=('!libtool')
|
|
install=glib.install
|
|
source=(ftp://ftp.gtk.org/pub/gtk/v1.2/${pkgname}-${pkgver}.tar.gz \
|
|
gcc340.patch \
|
|
aclocal-fixes.patch)
|
|
md5sums=('6fe30dad87c77b91b632def29dd69ef9' '877b3330e822a4be69a0f8a8c268cfd7'\
|
|
'e52c4b88427b9785bb8049dbdc9ff6fb')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i ../gcc340.patch || return 1
|
|
patch -Np0 -i ../aclocal-fixes.patch || return 1
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
|
|
--host=i686-pc-linux-gnu || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
rm "${pkgdir}/usr/share/info/dir"
|
|
gzip "${pkgdir}/usr/share/info/glib.info"
|
|
}
|