[arch-commits] Commit in google-glog/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue May 9 10:11:12 UTC 2017
Date: Tuesday, May 9, 2017 @ 10:11:12
Author: felixonmars
Revision: 227416
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
google-glog/repos/community-testing-i686/
google-glog/repos/community-testing-i686/PKGBUILD
(from rev 227415, google-glog/trunk/PKGBUILD)
google-glog/repos/community-testing-x86_64/
google-glog/repos/community-testing-x86_64/PKGBUILD
(from rev 227415, google-glog/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: google-glog/repos/community-testing-i686/PKGBUILD (from rev 227415, google-glog/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-05-09 10:11:12 UTC (rev 227416)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ian Yang <doit.ian at gmail.com>
+
+pkgname=google-glog
+pkgver=0.3.5
+pkgrel=1
+pkgdesc="Logging library for C++"
+arch=('i686' 'x86_64')
+license=('custom:BSD3')
+url='https://github.com/google/glog'
+depends=('gcc-libs')
+source=("glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz")
+sha512sums=('68b42ef42d57c9ede697c1423f8490deada06c9e9cb11a5e0ce53368e7e452c087d0e23bea50f51e1634b03eb4105e657c91318b6423c4e2a9c147b7334eb3f3')
+
+build() {
+ cd glog-$pkgver
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd 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
+}
Copied: google-glog/repos/community-testing-x86_64/PKGBUILD (from rev 227415, google-glog/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-05-09 10:11:12 UTC (rev 227416)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ian Yang <doit.ian at gmail.com>
+
+pkgname=google-glog
+pkgver=0.3.5
+pkgrel=1
+pkgdesc="Logging library for C++"
+arch=('i686' 'x86_64')
+license=('custom:BSD3')
+url='https://github.com/google/glog'
+depends=('gcc-libs')
+source=("glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz")
+sha512sums=('68b42ef42d57c9ede697c1423f8490deada06c9e9cb11a5e0ce53368e7e452c087d0e23bea50f51e1634b03eb4105e657c91318b6423c4e2a9c147b7334eb3f3')
+
+build() {
+ cd glog-$pkgver
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd 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
+}
More information about the arch-commits
mailing list