summaryrefslogtreecommitdiffstats
path: root/lua51-texture-share-vk/PKGBUILD
blob: 52489c8056a8617ad4a159546fa774d0def79740 (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
# Maintainer: Sol Bekic <s+aur at s-ol dot nu>

_rockname=texture-share-vk
pkgbase=lua-$_rockname
pkgname=("lua51-$_rockname")
pkgver=0.2.0
_rockrel=1
pkgrel=1
pkgdesc='A LÖVE library for sharing GPU textures between processes'
arch=(x86_64)
url="https://git.s-ol.nu/lua-texture-share-vk/-/"
license=(MIT)
depends=()
makedepends=(lua
             lua51
             lua52
             lua53
             luarocks)
source=("git+https://git.s-ol.nu/lua-$_rockname.git#tag=v$pkgver")
sha256sums=('41d5e62361d47bc7866c600b6828e8055f55a018f61e3c7d45f4a4f645af7907')

package() {
	cd "$srcdir/lua-$_rockname"
	luarocks --lua-version="5.1" --tree="$pkgdir/usr/" \
		make --deps-mode=none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
}