mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
964 B
Bash
30 lines
964 B
Bash
# Maintainer: Rotter Manuel <rotter.manuel@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
pkgname=glib2
|
|
pkgver=2.20.2
|
|
pkgrel=1
|
|
pkgdesc="Common C routines used by GTK+ 2.4 and other libs"
|
|
url="http://www.gtk.org/"
|
|
arch=(arm)
|
|
license=('LGPL')
|
|
depends=('pcre>=7.9')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool' '!docs')
|
|
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.20/glib-${pkgver}.tar.bz2)
|
|
#glib2.sh
|
|
#glib2.csh
|
|
md5sums=('468054db4e28af3eac541b36c9d07c31')
|
|
#'803017b365bd35dc20b092ce43b8c8c5'
|
|
#'90c7b830bef4baf225c2eb8b7ead0cab'
|
|
|
|
build() {
|
|
cd "${srcdir}/glib-${pkgver}"
|
|
./configure --prefix=/opt --enable-static --enable-shared --with-pcre=system --disable-fam || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -d "${pkgdir}/opt/etc/profile.d"
|
|
install -m755 "${srcdir}/glib2.sh" "${pkgdir}/opt/etc/profile.d/" || return 1
|
|
install -m755 "${srcdir}/glib2.csh" "${pkgdir}/opt/etc/profile.d/" || return 1
|
|
}
|