[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Jan 25 17:32:02 UTC 2019
Date: Friday, January 25, 2019 @ 17:32:01
Author: felixonmars
Revision: 427891
addpkg: lib32-vkd3d 1.1-1
Added:
lib32-vkd3d/
lib32-vkd3d/repos/
lib32-vkd3d/trunk/
lib32-vkd3d/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: lib32-vkd3d/trunk/PKGBUILD
===================================================================
--- lib32-vkd3d/trunk/PKGBUILD (rev 0)
+++ lib32-vkd3d/trunk/PKGBUILD 2019-01-25 17:32:01 UTC (rev 427891)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bruce Zhang
+
+pkgname=lib32-vkd3d
+_pkgname=vkd3d
+pkgver=1.1
+pkgrel=1
+pkgdesc='Direct3D 12 to Vulkan translation library By WineHQ'
+arch=('x86_64')
+url='https://github.com/d3d12/vkd3d'
+license=('LGPL')
+depends=('lib32-vulkan-icd-loader')
+makedepends=('spirv-headers' 'vulkan-headers' 'lib32-xcb-util')
+source=("https://dl.winehq.org/vkd3d/source/vkd3d-$pkgver.tar.xz")
+sha1sums=('00e784c2112acec0b8ef80ea547ed09c136335e8')
+
+prepare() {
+ cd vkd3d-$pkgver
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+
+ export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+ export LDFLAGS="-L/usr/lib32"
+
+ ./configure --libdir=/usr/lib32 --prefix=/usr
+}
+
+build() {
+ cd vkd3d-$pkgver
+ make
+}
+
+package() {
+ cd vkd3d-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ rm -r "$pkgdir"/usr/include
+}
More information about the arch-commits
mailing list