[arch-commits] Commit in gflags/repos (4 files)

Christian Rebischke shibumi at archlinux.org
Mon Jul 10 13:07:39 UTC 2017


    Date: Monday, July 10, 2017 @ 13:07:38
  Author: shibumi
Revision: 243621

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

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

-----------------------------------+
 community-testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: gflags/repos/community-testing-i686/PKGBUILD (from rev 243619, gflags/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-07-10 13:07:38 UTC (rev 243621)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: 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.2.0
+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')
+options=('staticlibs')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/schuhschuh/gflags/archive/v${pkgver}.tar.gz")
+sha512sums=('e2106ca70ff539024f888bca12487b3bf7f4f51928acf5ae3e1022f6bbd5e3b7882196ec50b609fd52f739e1f7b13eec7d4b3535d8216ec019a3577de6b4228d')
+
+build() {
+  cd "gflags-${pkgver}"
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DREGISTER_INSTALL_PREFIX=OFF \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_STATIC_LIBS=ON \
+    -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-testing-x86_64/PKGBUILD (from rev 243620, gflags/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-07-10 13:07:38 UTC (rev 243621)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: 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.2.0
+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')
+options=('staticlibs')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/schuhschuh/gflags/archive/v${pkgver}.tar.gz")
+sha512sums=('e2106ca70ff539024f888bca12487b3bf7f4f51928acf5ae3e1022f6bbd5e3b7882196ec50b609fd52f739e1f7b13eec7d4b3535d8216ec019a3577de6b4228d')
+
+build() {
+  cd "gflags-${pkgver}"
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DREGISTER_INSTALL_PREFIX=OFF \
+    -DBUILD_SHARED_LIBS=ON \
+    -DBUILD_STATIC_LIBS=ON \
+    -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