void-packages/srcpkgs/ois/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

30 lines
788 B
Bash

# Template file for 'ois'
pkgname=ois
version=1.5
revision=1
wrksrc="OIS-${version}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libXaw-devel"
short_desc="Object oriented input system"
maintainer="Orphaned <orphan@voidlinux.org>"
license="zlib-acknowledgement"
homepage="https://wgois.github.io/OIS/"
distfiles="https://github.com/wgois/OIS/archive/v${version}.tar.gz"
checksum=aa3e6b840b1149bb06835e04365957f4659c08b3e3095a48b289050f1637a174
post_install() {
vlicense LICENSE.md
}
ois-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libOIS.so
# Compatibility with previous versions
ln -srv ${PKGDESTDIR}/usr/include/{ois,OIS}
}
}