blob: 427000a80a9da4b4ad170f7fadde6b6ae73603b7 (
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
28
29
|
# Maintainer: Alexandre Bouvier <contact@amb.tf>
# Contributor: Anthony Wang <ta180m@pm.me>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
_pkgname=libretro-shaders-slang
pkgname=$_pkgname-git
pkgver=r1257.755b4bb
pkgrel=1
pkgdesc="Collection of shaders for libretro"
arch=('any')
url="https://github.com/libretro/slang-shaders"
license=('BSD' 'CCPL' 'GPL2' 'GPL3' 'LGPL2.1' 'LGPL3' 'MIT' 'MPL2' 'Unlicense')
groups=('libretro')
makedepends=('git')
optdepends=('retroarch')
provides=("$_pkgname=${pkgver#r}" 'libretro-shaders')
conflicts=("$_pkgname")
options=('!strip')
source=("$_pkgname::git+$url.git")
b2sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
# shellcheck disable=SC2154
make -C $_pkgname DESTDIR="$pkgdir" install
}
|