desktop/google-glog/PKGBUILD

35 lines
805 B
Bash
Raw Normal View History

2013-12-09 18:23:37 +08:00
#
# Apps packages for Chakra, part of chakra-project.org
#
2013-01-30 08:18:25 +08:00
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Ian Yang <doit.ian@gmail.com>
pkgname=google-glog
2018-02-11 00:18:24 +08:00
pkgver=0.3.5
2013-01-30 08:18:25 +08:00
pkgrel=1
pkgdesc="Logging library for C++"
2018-02-11 00:18:24 +08:00
arch=('x86_64')
2013-01-30 08:18:25 +08:00
license=('custom:BSD3')
url="http://code.google.com/p/google-glog/"
depends=('gcc-libs')
makedepends=('make' 'gcc')
2016-05-22 20:51:16 +08:00
source=(https://github.com/google/glog/archive/v$pkgver.tar.gz)
2018-02-11 00:18:24 +08:00
sha1sums=('61067502c5f9769d111ea1ee3f74e6ddf0a5f9cc')
2013-01-30 08:18:25 +08:00
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...
2013-12-09 18:23:37 +08:00
#rm -rf "${pkgdir}/usr/share"
2013-01-30 08:18:25 +08:00
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}