# Contributor: Clayton Craft # Maintainer: Clayton Craft pkgname=ois pkgver=1.5 pkgrel=0 pkgdesc="Object Oriented Input System" # Note: only tested on the following archs, may work on others too but not # adding them until this has been confirmed arch="x86_64 aarch64" url="https://github.com/wgois/OIS" license="Zlib" makedepends="cmake gcc libxaw libx11-dev linux-headers" source=$pkgname-$pkgver.tar.gz::"https://github.com/wgois/OIS/archive/v$pkgver.tar.gz" subpackages="$pkgname-dev" options="!check" # Package does not include any tests builddir=$srcdir/OIS-$pkgver build() { cmake -B build . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=None make -C build } package() { make -C build DESTDIR="$pkgdir" install } sha512sums="5ab1dda7c25c1959ccbbb758ea3fda36bd62ad65f46e2c6b418317a5eb39e0bace52a44ae079dfb69fc58c90df54f8e50d589daae1100ec615325363c9d77513 ois-1.5.tar.gz"