desktop/google-glog/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 98be8676ca google-glog 0.3.4
2016-05-22 14:51:16 +02:00

36 lines
833 B
Bash

#
# Apps packages for Chakra, part of chakra-project.org
#
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Ian Yang <doit.ian@gmail.com>
pkgname=google-glog
pkgver=0.3.4
pkgrel=1
pkgdesc="Logging library for C++"
arch=('i686' 'x86_64')
license=('custom:BSD3')
url="http://code.google.com/p/google-glog/"
depends=('gcc-libs')
makedepends=('make' 'gcc')
options=('!libtool')
source=(https://github.com/google/glog/archive/v$pkgver.tar.gz)
sha1sums=('69f91cd5a1de35ead0bc4103ea87294b0206a456')
build() {
cd "$srcdir/glog-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/glog-${pkgver}"
make DESTDIR="$pkgdir" install
# Lazy way of dealing with conflicting man and info pages...
#rm -rf "${pkgdir}/usr/share"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}