24 lines
656 B
Bash
24 lines
656 B
Bash
# Template file for 'glm'
|
|
pkgname=glm
|
|
version=0.9.9.2
|
|
revision=1
|
|
wrksrc=glm
|
|
noarch=yes
|
|
build_style=cmake
|
|
configure_args="-DGLM_TEST_ENABLE=OFF"
|
|
hostmakedepends="dos2unix unzip"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
short_desc="A C++ mathematics library for graphics programming"
|
|
license="MIT"
|
|
homepage="http://glm.g-truc.net"
|
|
distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
|
|
checksum=209b5943d393925e1a6ecb6734e7507b8f6add25e72a605b25d0d0d382e64fd4
|
|
|
|
post_install() {
|
|
local f
|
|
for f in $(find ${DESTDIR}/usr/include -type f); do
|
|
dos2unix "$f"
|
|
done
|
|
sed -n '88,110p' manual.md > LICENSE
|
|
vlicense LICENSE
|
|
}
|