summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 808d517dfcd56162693519a158440f0ed67dac54 (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
# Maintainer: zlsun <zlsun1995 at gmail dot com>

pkgname=glfx-git
_pkgname=glfx
pkgver=0.7.5
pkgrel=1
pkgdesc="A shader effect compiler for GLSL"
arch=("i686" "x86_64")
url="https://github.com/maizensh/glfx"
license=('BSD2')
depends=('glew')
makedepends=('git' 'cmake')
source=("git+$url")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$_pkgname"
    mkdir build && cd build
    cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
    make all || return 1
}

package() {
    cd "$srcdir/$_pkgname"
    cd build
    make DESTDIR="$pkgdir/" install || return 1
}