blob: 42daa63976e11de543f67d9dd177dae2ef3a8a38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
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"
|