archrelease: copy trunk to community-any
[ArchLinux/community.git] / nuklear / trunk / PKGBUILD
blob8bfb92a2882d25b6379b376e6c42c860b35cd0a3
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Andy Mender <andymenderunix@gmail.com>
4 pkgname=nuklear
5 pkgver=4.10.5
6 pkgrel=1
7 pkgdesc='Single-header ANSI C immediate mode cross-platform GUI library'
8 url='https://github.com/Immediate-Mode-UI/Nuklear'
9 arch=('any')
10 license=('MIT')
11 source=(${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz)
12 sha512sums=('3bdc01ee6666a83e804915e616bd3853a17a6b4bf33220ce3a9ca6a7fef1c380717bff788cf4540a22d6476ca69583805d7da67bb52a10f75176e8afe7d07729')
13 b2sums=('284d15b70222c898b617f8e0c54b07bf0fd05ed47593c6de70da4923bc9e6700746f09ccbe20eed893b5e7607eab8cdff57debf10ce93bbd84ca511cb1b9f047')
15 package() {
16   cd Nuklear-${pkgver}
17   install -Dm 644 nuklear.h -t "$pkgdir"/usr/include
18   install -Dm 644 Readme.md doc/index.html -t "$pkgdir"/usr/share/doc/"$pkgname"
19   install -Dm 644 Readme.md -t "$pkgdir"/usr/share/licenses/"$pkgname"
22 # vim: ts=2 sw=2 et: