Date: Sunday, March 5, 2023 @ 12:11:25
  Author: daurnimator
Revision: 1413271

archrelease: copy trunk to community-x86_64

Added:
  zig/repos/community-x86_64/PKGBUILD
    (from rev 1413270, zig/trunk/PKGBUILD)
Deleted:
  zig/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-05 12:11:03 UTC (rev 1413270)
+++ PKGBUILD    2023-03-05 12:11:25 UTC (rev 1413271)
@@ -1,53 +0,0 @@
-# Maintainer: Daurnimator <[email protected]>
-# Contributor: Marc Tiehuis <[email protected]>
-
-pkgname=zig
-pkgver=0.10.1
-pkgrel=2
-pkgdesc='a general-purpose programming language and toolchain for maintaining 
robust, optimal, and reusable software'
-arch=('x86_64')
-url='https://ziglang.org/'
-license=('MIT')
-options=('!lto')
-depends=('clang' 'llvm-libs')
-makedepends=('cmake' 'llvm' 'lld')
-checkdepends=('lib32-glibc')
-source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz";)
-sha256sums=('69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c')
-
-build() {
-    cd "$pkgname-$pkgver"
-
-    local cmake_vars=(
-        CMAKE_INSTALL_PREFIX=/usr
-
-        # The zig CMakeLists uses build type Debug if not set
-        # override it back to None so makepkg env vars are respected
-        CMAKE_BUILD_TYPE=None
-
-        ZIG_SHARED_LLVM=ON
-
-        ZIG_TARGET_MCPU=baseline
-    )
-    cmake -B build "${cmake_vars[@]/#/-D}" .
-    cmake --build build
-}
-
-check() {
-    cd "$pkgname-$pkgver"
-    # ugly workaround until test target is provided
-    # https://github.com/ziglang/zig/issues/14240
-    DESTDIR="./testinstall" cmake --install build
-    ./testinstall/usr/bin/zig build test -Dconfig_h=build/config.h \
-      -Dstatic-llvm=false \
-      -Denable-llvm=true \
-      -Dskip-non-native=true
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-
-    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-    DESTDIR="$pkgdir" cmake --install build
-}

Copied: zig/repos/community-x86_64/PKGBUILD (from rev 1413270, 
zig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-05 12:11:25 UTC (rev 1413271)
@@ -0,0 +1,53 @@
+# Maintainer: Daurnimator <[email protected]>
+# Contributor: Marc Tiehuis <[email protected]>
+
+pkgname=zig
+pkgver=0.10.1
+pkgrel=3
+pkgdesc='a general-purpose programming language and toolchain for maintaining 
robust, optimal, and reusable software'
+arch=('x86_64')
+url='https://ziglang.org/'
+license=('MIT')
+options=('!lto')
+depends=('clang' 'lld' 'llvm-libs')
+makedepends=('cmake' 'llvm')
+checkdepends=('lib32-glibc')
+source=("https://ziglang.org/download/$pkgver/zig-$pkgver.tar.xz";)
+sha256sums=('69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c')
+
+build() {
+    cd "$pkgname-$pkgver"
+
+    local cmake_vars=(
+        CMAKE_INSTALL_PREFIX=/usr
+
+        # The zig CMakeLists uses build type Debug if not set
+        # override it back to None so makepkg env vars are respected
+        CMAKE_BUILD_TYPE=None
+
+        ZIG_SHARED_LLVM=ON
+
+        ZIG_TARGET_MCPU=baseline
+    )
+    cmake -B build "${cmake_vars[@]/#/-D}" .
+    cmake --build build
+}
+
+check() {
+    cd "$pkgname-$pkgver"
+    # ugly workaround until test target is provided
+    # https://github.com/ziglang/zig/issues/14240
+    DESTDIR="./testinstall" cmake --install build
+    ./testinstall/usr/bin/zig build test -Dconfig_h=build/config.h \
+      -Dstatic-llvm=false \
+      -Denable-llvm=true \
+      -Dskip-non-native=true
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+
+    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+    DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to