[arch-commits] Commit in spirv-tools/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Apr 14 11:50:50 UTC 2016
Date: Thursday, April 14, 2016 @ 13:50:50
Author: svenstaro
Revision: 170973
upgpkg: spirv-tools 1.0.git1.4897864-1
Push spirv-tools
Modified:
spirv-tools/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-14 11:45:36 UTC (rev 170972)
+++ PKGBUILD 2016-04-14 11:50:50 UTC (rev 170973)
@@ -8,12 +8,12 @@
url='https://github.com/KhronosGroup/SPIRV-Tools'
license=('BSD')
depends=('gcc-libs')
-makedepends=('cmake' 'git')
+makedepends=('cmake' 'git' 'python')
source=("git://github.com/KhronosGroup/SPIRV-Tools.git#commit=${_gitver}")
sha256sums=('SKIP')
build() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/SPIRV-Tools"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
@@ -21,6 +21,8 @@
}
package() {
- cd "${srcdir}/${pkgname}/build"
+ cd "${srcdir}/SPIRV-Tools/build"
make DESTDIR="${pkgdir}" install
+
+ install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list