[arch-commits] Commit in gflags/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sun Mar 26 15:13:50 UTC 2017


    Date: Sunday, March 26, 2017 @ 15:13:49
  Author: shibumi
Revision: 219120

upgpkg: gflags 2.2.0-3 minor changes in the pkgbuild

Modified:
  gflags/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-26 15:13:31 UTC (rev 219119)
+++ PKGBUILD	2017-03-26 15:13:49 UTC (rev 219120)
@@ -1,24 +1,25 @@
 # $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Maintainer: Anatol Pomozov <anatol.pomozov gmail>
+# 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=2
+pkgrel=3
 pkgdesc='C++ Library for commandline flag processing'
-arch=(i686 x86_64)
+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)
-sha256sums=('466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88')
+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
+  cd "gflags-${pkgver}"
   cmake . \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
@@ -30,12 +31,12 @@
 }
 
 check() {
-  cd gflags-$pkgver
+  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
+  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