summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a9c9996e668a22805958d2c802f2b44e55cb6a0 (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
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: milkii on freenode
pkgname=oui-blendish-git
pkgver=r152.79ec59e
pkgrel=1
pkgdesc="Platform agnostic UI, NanoVG imitating the Blender 2.5, single C header file."
arch=("x86_64")
url="https://github.com/AndrewBelt/oui-blendish"
license=('ZLIB')
groups=()
depends=()
makedepends=('git' 'premake' 'patch')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
source=('git+https://github.com/AndrewBelt/oui-blendish')
noextract=()
md5sums=('SKIP')

pkgver() {
  cd oui-blendish
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

prepare() {
  cd oui-blendish
}

build() {
  cd oui-blendish
}

package() {
  cd oui-blendish
	install -D oui.h ${pkgdir}/usr/include/oui.h
	install -D blendish.h ${pkgdir}/usr/include/blendish.h
}