summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorprofessorkaos642016-09-20 11:51:15 -0400
committerprofessorkaos642016-09-20 11:51:15 -0400
commit87aa71dc0ba3c65deb4d01f7bd9b1b65b81b14e8 (patch)
tree242dea414a36ad93d1aa2e60754411fdf4a385e3
downloadaur-libretro-shaders-all-git.tar.gz
initial upload
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD38
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d15d6d1f09b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = libretro-shaders-all-git
+ pkgdesc = Collection of shaders for libretro (git-latest)
+ pkgver = r629.237bb5b
+ pkgrel = 1
+ url = http://www.libretro.com/
+ arch = any
+ groups = libretro
+ license = GPL
+ makedepends = git
+ makedepends = nvidia-cg-toolkit
+ makedepends = python
+ makedepends = retroarch
+ provides = libretro-shaders
+ conflicts = libretro-shaders
+ source = libretro-shaders::git+https://github.com/libretro/common-shaders.git
+ sha256sums = SKIP
+
+pkgname = libretro-shaders-all-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c39e935d557
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Michael DeGuzis <mdeguzis@gmail.com>
+# Credit: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=libretro-shaders-all-git
+_gitname=libretro-shaders
+pkgver=r629.237bb5b
+pkgrel=1
+pkgdesc='Collection of shaders for libretro (git-latest)'
+arch=('any')
+url='http://www.libretro.com/'
+license=('GPL')
+groups=('libretro')
+conflicts=('libretro-shaders')
+provides=('libretro-shaders')
+makedepends=('git' 'nvidia-cg-toolkit' 'python' 'retroarch')
+source=('libretro-shaders::git+https://github.com/libretro/common-shaders.git')
+sha256sums=('SKIP')
+
+pkgver() {
+
+
+ cd $_gitname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+
+}
+
+build() {
+
+ retroarch-cg2glsl libretro-shaders shaders
+
+}
+
+package() {
+
+ install -dm 755 "${pkgdir}"/usr/share/libretro
+ cp -dr --no-preserve='ownership' shaders "${pkgdir}"/usr/share/libretro/
+
+}