[arch-commits] Commit in systemc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Jul 28 08:20:31 UTC 2021
Date: Wednesday, July 28, 2021 @ 08:20:30
Author: felixonmars
Revision: 988535
archrelease: copy trunk to community-x86_64
Added:
systemc/repos/community-x86_64/PKGBUILD
(from rev 988532, systemc/trunk/PKGBUILD)
Deleted:
systemc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-28 08:20:30 UTC (rev 988534)
+++ PKGBUILD 2021-07-28 08:20:30 UTC (rev 988535)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Doppler <dopsi[at]dopsi[dot]ch>
-# Contributor: Kyle Brooks <brookskd[at]gmail[dot]com>
-# Contributor: bl4ckb0x <navkamal90[at]gmail[dot]com>
-
-pkgname=systemc
-pkgver=2.3.3
-pkgrel=1
-pkgdesc="Set of C++ classes and macros which provide an event-driven simulation interface for modeling and describing complex hardware systems"
-url="http://www.accellera.org/downloads/standards/systemc"
-arch=('x86_64')
-license=('Apache')
-depends=('gcc-libs')
-makedepends=('cmake' 'ninja')
-replaces=('systemc-cmake')
-source=("http://accellera.org/images/downloads/standards/systemc/$pkgname-$pkgver.tar.gz")
-sha512sums=('831255f8e76e1cf776e0407c92c7a0b70ba63cf6b1785a2df372a6394440944540a8ae62264ef5293a7b951bd8b37de089ef0dbc0ee2d0354e69ce552c020ca2')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake -GNinja -DCMAKE_CXX_STANDARD=11 -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver
- ninja
-}
-
-check() {
- cd build
- ninja check
-}
-
-package() {
- cd build
- DESTDIR="$pkgdir" ninja install
-}
Copied: systemc/repos/community-x86_64/PKGBUILD (from rev 988532, systemc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-28 08:20:30 UTC (rev 988535)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Doppler <dopsi[at]dopsi[dot]ch>
+# Contributor: Kyle Brooks <brookskd[at]gmail[dot]com>
+# Contributor: bl4ckb0x <navkamal90[at]gmail[dot]com>
+
+pkgname=systemc
+pkgver=2.3.3
+pkgrel=2
+pkgdesc="Set of C++ classes and macros which provide an event-driven simulation interface for modeling and describing complex hardware systems"
+url="http://www.accellera.org/downloads/standards/systemc"
+arch=('x86_64')
+license=('Apache')
+depends=('gcc-libs')
+makedepends=('cmake' 'ninja')
+replaces=('systemc-cmake')
+source=("http://accellera.org/images/downloads/standards/systemc/$pkgname-$pkgver.tar.gz")
+sha512sums=('831255f8e76e1cf776e0407c92c7a0b70ba63cf6b1785a2df372a6394440944540a8ae62264ef5293a7b951bd8b37de089ef0dbc0ee2d0354e69ce552c020ca2')
+
+prepare() {
+ mkdir -p build
+ sed -i 's/set (CMAKE_BUILD_TYPE Release/set (CMAKE_BUILD_TYPE ""/' $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake -GNinja -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver
+ ninja
+}
+
+check() {
+ cd build
+ ninja check
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list