[arch-commits] Commit in gflags (5 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Nov 19 14:21:09 UTC 2014


    Date: Wednesday, November 19, 2014 @ 15:21:09
  Author: mtorromeo
Revision: 122749

archrelease: copy trunk to community-i686, community-x86_64

Added:
  gflags/repos/
  gflags/repos/community-i686/
  gflags/repos/community-i686/PKGBUILD
    (from rev 122748, gflags/trunk/PKGBUILD)
  gflags/repos/community-x86_64/
  gflags/repos/community-x86_64/PKGBUILD
    (from rev 122748, gflags/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: gflags/repos/community-i686/PKGBUILD (from rev 122748, gflags/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2014-11-19 14:21:09 UTC (rev 122749)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Anatol Pomozov <anatol.pomozov gmail>
+# Contributor: RunningDroid <runningdroid AT zoho.com>
+# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
+
+pkgname=gflags
+pkgver=2.1.1
+pkgrel=4
+pkgdesc='C++ Library for commandline flag processing'
+arch=(i686 x86_64)
+url='https://github.com/schuhschuh/gflags'
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(cmake)
+# google-gflags was renamed to just gflags
+provides=(google-gflags=$pkgver)
+conflicts=(google-gflags)
+source=($pkgname-$pkgver.tar.gz::https://github.com/schuhschuh/gflags/archive/v$pkgver.tar.gz)
+sha256sums=('432edece8102fc141c2e3381e2eb5eabb1ce7614851cc96bdec4715105086238')
+
+build() {
+  cd gflags-$pkgver
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF -DBUILD_TESTING=ON
+  make
+}
+
+check() {
+  cd gflags-$pkgver
+  make test
+}
+
+package() {
+  cd gflags-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 COPYING.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING.txt
+}

Copied: gflags/repos/community-x86_64/PKGBUILD (from rev 122748, gflags/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2014-11-19 14:21:09 UTC (rev 122749)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Anatol Pomozov <anatol.pomozov gmail>
+# Contributor: RunningDroid <runningdroid AT zoho.com>
+# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
+
+pkgname=gflags
+pkgver=2.1.1
+pkgrel=4
+pkgdesc='C++ Library for commandline flag processing'
+arch=(i686 x86_64)
+url='https://github.com/schuhschuh/gflags'
+license=(BSD)
+depends=(gcc-libs)
+makedepends=(cmake)
+# google-gflags was renamed to just gflags
+provides=(google-gflags=$pkgver)
+conflicts=(google-gflags)
+source=($pkgname-$pkgver.tar.gz::https://github.com/schuhschuh/gflags/archive/v$pkgver.tar.gz)
+sha256sums=('432edece8102fc141c2e3381e2eb5eabb1ce7614851cc96bdec4715105086238')
+
+build() {
+  cd gflags-$pkgver
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF -DBUILD_TESTING=ON
+  make
+}
+
+check() {
+  cd gflags-$pkgver
+  make test
+}
+
+package() {
+  cd gflags-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 COPYING.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING.txt
+}



More information about the arch-commits mailing list