blob: a42881a4bc3fab3aece68daaceebadcea53a6a34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Yassine Oudjana <y.oudjana@protonmail.com>
pkgname=derelict-vulkan
pkgver=0.0.20
pkgrel=1
pkgdesc="A dynamic binding to the vulkan api."
arch=('x86_64')
url="https://github.com/Zoadian/DerelictVulkan"
license=('Boost')
makedepends=('dub')
source=("https://github.com/Zoadian/DerelictVulkan/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('018f0ed1daa49137bd5d613c5be8919201227aeecf20d11300fbb4f8622a80a5')
build() {
cd DerelictVulkan-$pkgver
dub build
}
package() {
cd DerelictVulkan-$pkgver
install -Dm0755 -t "$pkgdir/usr/lib/" "bin/libderelict-vulkan.a"
mkdir -p "$pkgdir/usr/include/d/derelict/vulkan"
cp -R --no-dereference --preserve=mode,links "source/derelict/vulkan" "$pkgdir/usr/include/d/derelict/"
}
|