Browse Source

[trunk] -> [extra] 'vulkan-icd-loader-1.1.101-1' add

master
artoo 4 years ago
parent
commit
33c0a5198e
  1. 22
      repos/extra-x86_64/PKGBUILD
  2. 22
      trunk/PKGBUILD

22
repos/extra-x86_64/PKGBUILD

@ -1,7 +1,7 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-icd-loader
pkgver=1.1.99+3022+e1eafa18e
pkgver=1.1.101
pkgrel=1
arch=(x86_64)
pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
@ -10,18 +10,18 @@ license=('custom')
makedepends=(cmake python-lxml libx11 libxrandr wayland vulkan-headers git)
depends=(glibc)
optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
#source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-${pkgver}.tar.gz"
source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=e1eafa18e17d00374253bcd37d015befa89fcc43")
sha256sums=('SKIP')
source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/v${pkgver}.tar.gz")
#source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=e1eafa18e17d00374253bcd37d015befa89fcc43")
sha256sums=('c789c2569c211fa655237e74a0ab116a75984d553e50381e8c2ae5f0ce5223ba')
pkgver() {
cd "${srcdir}/Vulkan-Loader"
echo 1.1.99+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
}
#pkgver() {
# cd "${srcdir}"/Vulkan-Loader
#
# echo 1.1.99+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
#}
build() {
cd "${srcdir}/Vulkan-Loader"
cd "${srcdir}"/Vulkan-Loader*
rm -rf build ; mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
@ -39,7 +39,7 @@ build() {
}
package() {
cd "${srcdir}/Vulkan-Loader/build"
cd "${srcdir}"/Vulkan-Loader*/build
make DESTDIR="${pkgdir}" install

22
trunk/PKGBUILD

@ -1,7 +1,7 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-icd-loader
pkgver=1.1.99+3022+e1eafa18e
pkgver=1.1.101
pkgrel=1
arch=(x86_64)
pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
@ -10,18 +10,18 @@ license=('custom')
makedepends=(cmake python-lxml libx11 libxrandr wayland vulkan-headers git)
depends=(glibc)
optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
#source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-${pkgver}.tar.gz"
source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=e1eafa18e17d00374253bcd37d015befa89fcc43")
sha256sums=('SKIP')
source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/v${pkgver}.tar.gz")
#source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=e1eafa18e17d00374253bcd37d015befa89fcc43")
sha256sums=('c789c2569c211fa655237e74a0ab116a75984d553e50381e8c2ae5f0ce5223ba')
pkgver() {
cd "${srcdir}/Vulkan-Loader"
echo 1.1.99+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
}
#pkgver() {
# cd "${srcdir}"/Vulkan-Loader
#
# echo 1.1.99+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
#}
build() {
cd "${srcdir}/Vulkan-Loader"
cd "${srcdir}"/Vulkan-Loader*
rm -rf build ; mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
@ -39,7 +39,7 @@ build() {
}
package() {
cd "${srcdir}/Vulkan-Loader/build"
cd "${srcdir}"/Vulkan-Loader*/build
make DESTDIR="${pkgdir}" install

Loading…
Cancel
Save