updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / librep-git / PKGBUILD
blob52062324b67305dd5405d3943d4f7d74003b5ad4
1 # Contibutor: Thomas Dziedzic < gostrc at gmail >
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
4 pkgname=librep-git
5 pkgver=20111224
6 pkgrel=1
7 pkgdesc='A lisp system for sawfish - git version.'
8 arch=('i686' 'x86_64')
9 url='http://sawfish.wikia.com'
10 license=('GPL')
11 depends=('gmp' 'gdbm')
12 makedepends=('git')
13 provides=('librep=0.92.1')
14 conflicts=('librep')
15 options=('!libtool')
16 install=librep.install
18 _gitroot='git://git.tuxfamily.org/gitroot/librep/main.git'
19 _gitname='main'
21 build() {
22   # msg "Connecting to GIT server...."
24   if [ -d $_gitname ] ; then
25     (cd $_gitname && git pull origin)
26   else
27     git clone $_gitroot
28   fi
30   msg "GIT checkout done or server timeout"
31   msg "Starting make..."
33   [ -d $_gitname-build ] && rm -rf $_gitname-build
34   git clone $_gitname $_gitname-build
35   cd $_gitname-build
36   ./autogen.sh 
37   ./configure --disable-static \
38               --prefix=/usr \
39               --libexecdir=/usr/lib/$pkgname  \
40               --with-readline \
41               --without-ffi \
42               --without-pango           
43   sed -i 's#makeinfo --no-split#makeinfo --force --no-split#' man/Makefile
44   make 
46 package() {
47   cd $_gitname-build
48   # create some directories or make install fails
49   install -d $pkgdir/usr/{share/aclocal,lib/pkgconfig}
50   make DESTDIR=$pkgdir install
51