diff options
Diffstat (limited to 'community/ois/APKBUILD')
-rw-r--r-- | community/ois/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/ois/APKBUILD b/community/ois/APKBUILD new file mode 100644 index 00000000000..7ef6111e301 --- /dev/null +++ b/community/ois/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Clayton Craft <clayton@craftyguy.net> +# Maintainer: Clayton Craft <clayton@craftyguy.net> +pkgname=ois +pkgver=1.5.1 +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=" +20598aef999a70900cb7f75ffaf62059acf8e811822971cb21986b5d25d28dacb79e4b4cf4770c70e00d3c55cdd01ef3e68a77c2dd148677784fc4df38891340 ois-1.5.1.tar.gz +" |