[arch-commits] Commit in shaderc/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Apr 29 14:25:27 UTC 2020
Date: Wednesday, April 29, 2020 @ 14:25:27
Author: svenstaro
Revision: 381847
Some restructuring
Modified:
shaderc/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-29 14:19:21 UTC (rev 381846)
+++ PKGBUILD 2020-04-29 14:25:27 UTC (rev 381847)
@@ -31,9 +31,9 @@
build() {
export CFLAGS+=" ${CPPFLAGS}"
export CXXFLAGS+=" ${CPPFLAGS}"
+ cd ${pkgname}-${pkgver}
cmake \
-B build \
- -S ${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -41,13 +41,14 @@
-GNinja
ninja -C build
- cd ${pkgname}-${pkgver}/glslc
+ cd glslc
asciidoctor -b manpage README.asciidoc -o glslc.1
}
package() {
+ cd ${pkgname}-${pkgver}
DESTDIR="${pkgdir}" ninja -C build install
- install -Dm 644 ${pkgname}-${pkgver}/glslc/glslc.1 -t "${pkgdir}/usr/share/man/man1"
+ install -Dm 644 glslc/glslc.1 -t "${pkgdir}/usr/share/man/man1"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list