summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed9d05ebcf6eec58ef2c2721e147fe50bbcd5f3f (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
30
# Maintainer: Jonathan Liu <net147@gmail.com>
pkgname=shadergen
_realpkgname=ShaderGen
pkgver=3.5.0
pkgrel=1
pkgdesc="Automatically generates OpenGL Shading Language shaders that duplicate fixed function OpenGL behavior"
arch=('i686' 'x86_64')
url="https://github.com/mojocorp/ShaderGen"
license=('BSD')
depends=('qt5-base')
source=("https://github.com/mojocorp/${_realpkgname}/archive/${pkgver}.tar.gz")
md5sums=('d260b8f10f46ad3da41d544388349996')

prepare() {
  cd "${_realpkgname}-${pkgver}"
  qmake
}

build() {
  cd "${_realpkgname}-${pkgver}"
  make
}

package() {
  cd "${_realpkgname}-${pkgver}"
  install -D -m 755 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -D -m 755 build/ShaderGen "${pkgdir}/usr/bin/ShaderGen"
}

# vim:set ts=2 sw=2 et: