Date: Sunday, December 6, 2015 @ 22:06:39 Author: bpiotrowski Revision: 149223
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gflags/repos/community-staging-i686/ gflags/repos/community-staging-i686/PKGBUILD (from rev 149222, gflags/trunk/PKGBUILD) gflags/repos/community-staging-x86_64/ gflags/repos/community-staging-x86_64/PKGBUILD (from rev 149222, gflags/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: gflags/repos/community-staging-i686/PKGBUILD (from rev 149222, gflags/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 21:06:39 UTC (rev 149223) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Maintainer: Anatol Pomozov <anatol.pomozov gmail> +# Contributor: RunningDroid <runningdroid AT zoho.com> +# Contributor: Xiao-Long Chen <chenxiaol...@cxl.epac.to> + +pkgname=gflags +pkgver=2.1.2 +pkgrel=2 +pkgdesc='C++ Library for commandline flag processing' +arch=(i686 x86_64) +url='https://github.com/schuhschuh/gflags' +license=(BSD) +depends=(gcc-libs) +makedepends=(cmake) +source=($pkgname-$pkgver.tar.gz::https://github.com/schuhschuh/gflags/archive/v$pkgver.tar.gz) +sha256sums=('d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662') + +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-staging-x86_64/PKGBUILD (from rev 149222, gflags/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-06 21:06:39 UTC (rev 149223) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Maintainer: Anatol Pomozov <anatol.pomozov gmail> +# Contributor: RunningDroid <runningdroid AT zoho.com> +# Contributor: Xiao-Long Chen <chenxiaol...@cxl.epac.to> + +pkgname=gflags +pkgver=2.1.2 +pkgrel=2 +pkgdesc='C++ Library for commandline flag processing' +arch=(i686 x86_64) +url='https://github.com/schuhschuh/gflags' +license=(BSD) +depends=(gcc-libs) +makedepends=(cmake) +source=($pkgname-$pkgver.tar.gz::https://github.com/schuhschuh/gflags/archive/v$pkgver.tar.gz) +sha256sums=('d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662') + +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 +}