Commit d11528b6 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] google-glog: update to 0.4.0

parent 8b08b37f
Pipeline #4326 skipped
#
# Apps packages for Chakra, part of chakra-project.org
#
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributions from Arch:
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Ian Yang <doit.ian@gmail.com>
pkgname=google-glog
pkgver=0.3.5
pkgver=0.4.0
pkgrel=1
pkgdesc="Logging library for C++"
arch=('x86_64')
license=('custom:BSD3')
url="http://code.google.com/p/google-glog/"
url='https://github.com/google/glog'
depends=('gcc-libs')
makedepends=('make' 'gcc')
source=(https://github.com/google/glog/archive/v$pkgver.tar.gz)
sha1sums=('61067502c5f9769d111ea1ee3f74e6ddf0a5f9cc')
source=("glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz")
sha256sums=('f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c')
build() {
cd "$srcdir/glog-${pkgver}"
cd glog-$pkgver
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/glog-${pkgver}"
cd glog-$pkgver
make DESTDIR="$pkgdir" install
# Lazy way of dealing with conflicting man and info pages...
#rm -rf "${pkgdir}/usr/share"
rm -rf "$pkgdir"/usr/share
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment