[arch-commits] Commit in microsoft-gsl/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Apr 22 14:19:11 UTC 2020
Date: Wednesday, April 22, 2020 @ 14:19:10
Author: svenstaro
Revision: 617653
archrelease: copy trunk to community-any
Added:
microsoft-gsl/repos/community-any/PKGBUILD
(from rev 617652, microsoft-gsl/trunk/PKGBUILD)
Deleted:
microsoft-gsl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-22 14:19:01 UTC (rev 617652)
+++ PKGBUILD 2020-04-22 14:19:10 UTC (rev 617653)
@@ -1,44 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Aleksandar Trifunović <akstrfn at gmail dot com>
-
-_pkgname=GSL
-pkgname=microsoft-gsl
-pkgver=2.1.0
-pkgrel=1
-pkgdesc="C++ Core Guidelines Support Library"
-arch=('any')
-url="https://github.com/Microsoft/GSL"
-license=('MIT')
-makedepends=('cmake')
-source=("https://github.com/Microsoft/GSL/archive/v${pkgver}.tar.gz")
-sha256sums=('ef73814657b073e1be86c8f7353718771bf4149b482b6cb54f99e79b23ff899d')
-
-prepare() {
- mkdir "$_pkgname-$pkgver"/build
-}
-
-build() {
- cd "$_pkgname-$pkgver"/build
- cmake .. \
- -DGSL_TEST=OFF \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
-# TODO Re-enable tests in next release
-
- make
-}
-
-# check() {
-# TODO Re-enable tests in next release
-# }
-
-package() {
- cd "$_pkgname-$pkgver"/build
-
- make DESTDIR="$pkgdir/" install
-
- cd ..
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: microsoft-gsl/repos/community-any/PKGBUILD (from rev 617652, microsoft-gsl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-22 14:19:10 UTC (rev 617653)
@@ -0,0 +1,44 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Aleksandar Trifunović <akstrfn at gmail dot com>
+
+_pkgname=GSL
+pkgname=microsoft-gsl
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="C++ Core Guidelines Support Library"
+arch=('any')
+url="https://github.com/Microsoft/GSL"
+license=('MIT')
+makedepends=('cmake' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Microsoft/GSL/archive/v${pkgver}.tar.gz")
+sha256sums=('767b6246eecd0b2a915e2b5774ba6d4796579a5e15dc562d93ec80f1f2c9c889')
+
+prepare() {
+ mkdir "$_pkgname-$pkgver"/build
+}
+
+build() {
+ cd "$_pkgname-$pkgver"/build
+ cmake .. \
+ -DGSL_TEST=ON \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+ -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+check() {
+ cd "$_pkgname-$pkgver"/build
+ make test
+}
+
+package() {
+ cd "$_pkgname-$pkgver"/build
+
+ make DESTDIR="$pkgdir/" install
+
+ cd ..
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list