mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
35 lines
805 B
Bash
35 lines
805 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.5
|
|
pkgrel=1
|
|
pkgdesc="Logging library for C++"
|
|
arch=('x86_64')
|
|
license=('custom:BSD3')
|
|
url="http://code.google.com/p/google-glog/"
|
|
depends=('gcc-libs')
|
|
makedepends=('make' 'gcc')
|
|
source=(https://github.com/google/glog/archive/v$pkgver.tar.gz)
|
|
sha1sums=('61067502c5f9769d111ea1ee3f74e6ddf0a5f9cc')
|
|
|
|
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"
|
|
}
|