summaryrefslogtreecommitdiff
path: root/community/google-glog
diff options
context:
space:
mode:
Diffstat (limited to 'community/google-glog')
-rw-r--r--community/google-glog/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/google-glog/PKGBUILD b/community/google-glog/PKGBUILD
new file mode 100644
index 000000000..7ca4be213
--- /dev/null
+++ b/community/google-glog/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 83436 2013-02-01 07:03:30Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Ian Yang <doit.ian@gmail.com>
+
+pkgname=google-glog
+pkgver=0.3.3
+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")
+
+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"
+}
+
+md5sums=('a6fd2c22f8996846e34c763422717c18')