Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Will Chappell <wtchappell@gmail.com>
- pkgname=lua-oopango-git
- pkgver=20111112
- pkgrel=1
- pkgdesc="Lua bindings to pango."
- arch=('i686' 'x86_64')
- url="git://git.naquadah.org/oopango.git"
- license=('GPL')
- depends=('pango' 'lua' 'lua-oocairo')
- makedepends=('git' 'perl')
- provides=('lua-oopango')
- conflicts=('lua-oopango')
- _gitroot="git://git.naquadah.org/oopango.git"
- _gitname="oopango"
- build() {
- cd ${srcdir}
- msg "Connecting to GIT server..."
- if [[ -d ${_gitname} ]]; then
- cd ${_gitname} && git pull origin
- else
- git clone ${_gitroot} ${_gitname}
- fi
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
- rm -rf ${_gitname}-build
- git clone ${_gitname} ${_gitname}-build
- cd ${srcdir}/${_gitname}-build
- ./autogen.sh
- ./configure --prefix=/usr
- sed -i 's/lua5.1/lua/' configure
- make
- make \
- POD2MAN=/usr/lib/perl5/core_perl/bin/pod2man \
- DESTDIR="${pkgdir}" install
- }
- # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement