Date: Monday, July 22, 2019 @ 13:22:18 Author: archange Revision: 492562
upgpkg: lib32-primus_vk 1.1-1 Modified: lib32-primus_vk/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-07-22 13:20:18 UTC (rev 492561) +++ PKGBUILD 2019-07-22 13:22:18 UTC (rev 492562) @@ -1,20 +1,21 @@ # Maintainer: Giancarlo Razzolini <grazzol...@archlinux.org> +# Maintainer: Bruno Pagani <archa...@archlinux.org> _pkgname=primus_vk pkgname=lib32-primus_vk -pkgver=1.0 +pkgver=1.1 pkgrel=1 -pkgdesc="Primus-Vk Nvidia Vulkan offloading for Bumblebee" +pkgdesc="Nvidia Vulkan offloading for Bumblebee" arch=('x86_64') -url="https://github.com/felixdoerre/$_pkgname" +url="https://github.com/felixdoerre/primus_vk" license=('BSD') depends=('lib32-nvidia-utils' 'bumblebee' 'lib32-vulkan-icd-loader' 'lib32-primus') makedepends=('vulkan-validation-layers') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/felixdoerre/${_pkgname}/archive/v${pkgver}.tar.gz) -sha512sums=('5d4bb4be4e958f039144d90c33dc94dcdfcbaf0925f1f70676ae46ea3022d4a11ba07fa23974b434188fad0c54f4df1c590d20b76186634a852a99203e3a76c1') +source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('37304476836c4d0cdd238d902d55d1ae772541827804eab8d4841644525c25a12f1aa24c6cfaae1729c325c6dbb731758b51a952a00c3f3c96d8f26da5d5ceda') build() { - cd "${_pkgname}-${pkgver}" + cd ${_pkgname}-${pkgver} export CXXFLAGS+=' -m32 -DNV_DRIVER_PATH=\"/usr/lib32/libGLX_nvidia.so.0\"' make @@ -23,7 +24,7 @@ package() { cd "${_pkgname}-${pkgver}" - install -D libnv_vulkan_wrapper.so "$pkgdir"/usr/lib32/libnv_vulkan_wrapper.so - install -D libprimus_vk.so "$pkgdir"/usr/lib32/libprimus_vk.so - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE + install -D libnv_vulkan_wrapper.so -t "$pkgdir"/usr/lib32/ + install -D libprimus_vk.so -t "$pkgdir"/usr/lib32/ + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"/ }