summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD41
-rw-r--r--shadermaker.changelog24
-rw-r--r--shadermaker.desktop10
4 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa852f70aa2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = shadermaker
+ pkgdesc = A simple and cross-platform GLSL editor
+ pkgver = 1.02
+ pkgrel = 5
+ url = http://cgvr.cs.uni-bremen.de/teaching/shader_maker
+ changelog = shadermaker.changelog
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = unzip
+ depends = qt4
+ source = http://cgvr.cs.uni-bremen.de/teaching/shader_maker/ShaderMaker_src.zip
+ source = shadermaker.desktop
+ md5sums = 5ec3cfb3e2335b6ccd008a54225dd603
+ md5sums = 1af901ac4b9e6b5239770aded4a8ca46
+
+pkgname = shadermaker
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..63b261b709d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
+pkgname=shadermaker
+pkgver=1.02
+pkgrel=5
+pkgdesc="A simple and cross-platform GLSL editor"
+arch=('i686' 'x86_64')
+url="http://cgvr.cs.uni-bremen.de/teaching/shader_maker"
+license=('GPL')
+depends=('qt4')
+makedepends=('unzip')
+changelog=shadermaker.changelog
+source=(http://cgvr.cs.uni-bremen.de/teaching/shader_maker/ShaderMaker_src.zip\
+ shadermaker.desktop)
+md5sums=('5ec3cfb3e2335b6ccd008a54225dd603' '1af901ac4b9e6b5239770aded4a8ca46')
+
+
+build() {
+ cd "$srcdir"/ShaderMaker_src
+
+ # Compiling
+ cd src
+ qmake-qt4 ShaderMaker.pro
+ make
+}
+
+package() {
+ cd "$srcdir"/ShaderMaker_src
+
+ # Installing support files
+ install -D -m755 ShaderMaker "$pkgdir"/usr/bin/ShaderMaker
+ mkdir -p "$pkgdir"/usr/share/shadermaker
+ cp -R models shaders textures "$pkgdir"/usr/share/shadermaker
+ chmod -x "$pkgdir"/usr/share/shadermaker/{models,shaders,textures}/*
+
+ # Installing icon and desktop file
+ install -D -m644 $srcdir/shadermaker.desktop "$pkgdir"/usr/share/applications/shadermaker.desktop
+ install -D -m644 src/images/appicon.png "$pkgdir"/usr/share/pixmaps/shadermaker.png
+ chmod -x "$pkgdir"/usr/share/pixmaps/shadermaker.png
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/shadermaker.changelog b/shadermaker.changelog
new file mode 100644
index 00000000000..59792a14a62
--- /dev/null
+++ b/shadermaker.changelog
@@ -0,0 +1,24 @@
+2013-10-27 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
+
+ * PKGBUILD:
+ Source URL corrected
+
+2013-03-10 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
+
+ * PKGBUILD :
+ Updated source archive MD5 sum
+ Updated for new qt4 package and qmake-qt4
+
+2012-02-03 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
+
+ * PKGBUILD :
+ Added the changelog directive
+ Added a package() function
+ Source URL corrected
+
+2011-03-21 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
+
+ * PKGBUILD :
+ Corrected the source and home URLs
+ Added x86_64 to the arch array
+ Added support for the new executable name
diff --git a/shadermaker.desktop b/shadermaker.desktop
new file mode 100644
index 00000000000..12116d29ac4
--- /dev/null
+++ b/shadermaker.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Shader Maker
+Comment=GLSL editor
+Exec=ShaderMaker
+Icon=shadermaker.png
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Application;Development;IDE;