summaryrefslogtreecommitdiff
path: root/community/google-glog
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-25 01:27:50 -0800
committerroot <root@rshg054.dnsready.net>2012-11-25 01:27:50 -0800
commit7078408fce09d86886894f26c22cc36fc16aa4cc (patch)
treef905a603edb7119736dc6fbc704ec059d821dd77 /community/google-glog
parentc65624e6d74bffd70dcd67cc28448b5a50596efb (diff)
Sun Nov 25 01:27:22 PST 2012
Diffstat (limited to 'community/google-glog')
-rw-r--r--community/google-glog/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/google-glog/PKGBUILD b/community/google-glog/PKGBUILD
new file mode 100644
index 000000000..f30efef3c
--- /dev/null
+++ b/community/google-glog/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 80554 2012-11-25 02:18:10Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Ian Yang <doit.ian@gmail.com>
+
+pkgname=google-glog
+pkgver=0.3.2
+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=("http://google-glog.googlecode.com/files/glog-${pkgver}.tar.gz")
+md5sums=('897fbff90d91ea2b6d6e78c8cea641cc')
+
+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"
+}