git » nuklear.git » main » tree

[main] / PKGBUILD

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

pkgname=nuklear
pkgver=4.10.6
pkgrel=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=('a6d983b16689dad38f2de479892e6bb15c196e57ab89e47773d5cbb1d39d7e3f59c5ede019b70883fd25f62a1933f302ee62754d620adfc334df159126195898')
b2sums=('67d7b83bc509c42a8cde541ef3082bd047529c9b6451db9b1d75ff3b6e57eec05dacc3f66d2a745161d99497b7b3e76ddbdc5e4a5e7b4aa3fef338dfcb4bc94f')

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: