Skip to content

anonymous /PKGBUILD

# Contributor: mariusz - myswiat <my.swiat@o2.pl>
# Contributor: Carlos Franke <carlos_franke at lemtank dot de>
pkgname=pango-git
pkgver=20110823
pkgrel=1
pkgdesc="A library for layout and rendering of text"
arch=('i686' 'x86_64')
url="http://gnome.org/"
license=('LGPL')
makedepends=('git')
depends=('glib2' 'cairo')
provides=('pango')
conflicts=('pango')
_gitroot="http://git.gnome.org/browse/pango"
_gitname="pango"
build() {
cd $srcdir
msg "Connecting to git.gnome.org GIT server...."
if [ -d $srcdir/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd $srcdir/$_gitname-build
msg "Starting build"
./autogen.sh --prefix=/usr
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR=$pkgdir install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.