diff options
author | Adrià Cereto-Massagué | 2018-02-08 16:03:42 +0100 |
---|---|---|
committer | Adrià Cereto-Massagué | 2018-02-08 16:03:42 +0100 |
commit | 8044b82a59ac4132516fcb8e74787f841482aef0 (patch) | |
tree | b40cb6d1f274a55ed0998c9c9b042830dcde63ba | |
parent | 12f288300d7de327504a7f65eca9ed1fc23f0b1f (diff) | |
download | aur-8044b82a59ac4132516fcb8e74787f841482aef0.tar.gz |
updated packaging, now packages the 32 bit libraries too
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 15 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = dxvk-git pkgdesc = A Vulkan-based compatibility layer for Direct3D 11 which allows running 3D applications on Linux using Wine. - pkgver = 20180124.e4d49ae + pkgver = 20180208.8f134ba pkgrel = 1 url = https://github.com/doitsujin/dxvk arch = x86_64 @@ -2,7 +2,7 @@ pkgname=dxvk-git _srcname=dxvk -pkgver=20180124.e4d49ae +pkgver=20180208.8f134ba pkgrel=1 epoch= pkgdesc="A Vulkan-based compatibility layer for Direct3D 11 which allows running 3D applications on Linux using Wine." @@ -26,6 +26,8 @@ noextract=() md5sums=("SKIP") validpgpkeys=() +destdir64=/usr/local/dxvk/w64 +destdir32=/usr/local/dxvk/w32 pkgver() { cd "$_srcname" @@ -37,8 +39,13 @@ build() { cd "$_srcname" meson --cross-file build-win64.txt build.w64 cd build.w64 - meson configure -Dprefix=/usr/local/ -Dbuildtype=release + meson configure -Dprefix="$destdir64" -Dbuildtype=release ninja + cd .. + meson --cross-file build-win32.txt build.w32 + cd build.w32 + meson configure -Dprefix="$destdir32" -Dbuildtype=release + ninja } @@ -46,4 +53,9 @@ build() { package() { cd "$_srcname"/build.w64 DESTDIR="$pkgdir/" ninja install + mkdir -p "$pkgdir/usr/local/bin" + ln -s "$destdir64/bin/setup_dxvk.sh" "$pkgdir/usr/local/bin/setup_dxvk64" + cd ../build.w32 + DESTDIR="$pkgdir/" ninja install + ln -s "$destdir32/bin/setup_dxvk.sh" "$pkgdir/usr/local/bin/setup_dxvk32" } |