# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Andy Mender <andymenderunix@gmail.com>

pkgname=nuklear
pkgver=4.12.0
pkgrel=1.1
pkgdesc='Single-header ANSI C immediate mode cross-platform GUI library'
url='https://github.com/Immediate-Mode-UI/Nuklear'
arch=(any)
license=('MIT')
source=(${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('571af205d3fca9c698942c96de14a02c8a2c5112b474028ede9dc215191f6d87520fbdc5c0fdb6c45d316df7e27f04d7b2c5ea063cfd57e9c1b62e49aa23140e')
b2sums=('2892ec4e7eeaea521b5c75211b7b089e659679578639b69ed85a7e6796e2ea1ba40fd8b05019e210a9a57cdb2aadbc77b4300768d73c850ac51dc13f813b8dea')

package() {
  cd Nuklear-${pkgver}
  install -Dm 644 nuklear.h -t "$pkgdir"/usr/include
  install -Dm 644 Readme.md doc/index.html -t "$pkgdir"/usr/share/doc/"$pkgname"
  install -Dm 644 Readme.md -t "$pkgdir"/usr/share/licenses/"$pkgname"
}

# vim: ts=2 sw=2 et:
