updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / google-glog / PKGBUILD
blob35ad9ddb843bf20e4c2f8be4ce9cdfd5fb860ec1
1 # Maintainer: Ian Yang <doit.ian@gmail.com>
2 pkgname=google-glog
3 pkgver=0.3.2
4 pkgrel=0
5 pkgdesc="Logging library for C++"
6 arch=(i686 x86_64)
7 license=('BSD3')
8 url="http://code.google.com/p/google-glog/"
9 depends=('gcc-libs')
10 makedepends=('make' 'gcc')
11 options=('!libtool')
12 source=(http://google-glog.googlecode.com/files/glog-${pkgver}.tar.gz)
13 md5sums=('897fbff90d91ea2b6d6e78c8cea641cc')
15 build() {
16   cd ${startdir}/src/glog-${pkgver}
18   ./configure --prefix=/usr || return 1
19   make || return 1
20   make DESTDIR=${pkgdir} install || return 1
22   # Lazy way of dealing with conflicting man and info pages...
23   rm -rf ${pkgdir}/usr/share