Date: Monday, December 19, 2022 @ 10:36:56
Author: lcarlier
Revision: 464596
upgpkg: directx-shader-compiler 1.7.2212-1: upstream update 1.7.2212
Modified:
directx-shader-compiler/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-19 10:03:54 UTC (rev 464595)
+++ PKGBUILD 2022-12-19 10:36:56 UTC (rev 464596)
@@ -2,25 +2,18 @@
pkgname=directx-shader-compiler
pkgdesc="A compiler for HLSL to DXIL (DirectX Intermediate Language)."
-pkgver=1.7.2207+gde70ea29b
-pkgrel=2
+pkgver=1.7.2212
+pkgrel=1
arch=('x86_64')
url="https://github.com/microsoft/${_pkgname}"
license=('custom')
depends=('ncurses')
makedepends=('git' 'cmake' 'ninja' 'python')
-_commit=de70ea29bc8734624c71e0078fbd8d532d20bdea
-source=("directx-shader-compiler::git+https://github.com/microsoft/DirectXShaderCompiler.git#commit=${_commit}")
+source=("directx-shader-compiler-${pkgver}::git+https://github.com/microsoft/DirectXShaderCompiler.git#tag=v${pkgver}")
sha256sums=('SKIP')
-pkgver() {
- cd "${pkgname}"
-
- echo 1.7.2207+g$(git rev-parse --short HEAD)
-}
-
prepare() {
- cd "${pkgname}"
+ cd "${pkgname}-${pkgver}"
git submodule update --init
@@ -28,7 +21,7 @@
}
build() {
- cd "${pkgname}"/build
+ cd "${pkgname}-${pkgver}"/build
cmake .. -G Ninja \
-C ../cmake/caches/PredefinedParams.cmake \
@@ -39,7 +32,7 @@
}
package() {
- cd "${pkgname}"
+ cd "${pkgname}-${pkgver}"
install -m755 -d "${pkgdir}"/usr/bin
install -m755 -d "${pkgdir}"/usr/lib