void-packages/srcpkgs/oblibs/template
2019-12-14 13:54:02 +01:00

28 lines
815 B
Bash

# Template file for 'oblibs'
pkgname=oblibs
version=0.0.4.0
revision=1
wrksrc="${pkgname}-v${version}"
build_style=configure
configure_args="--prefix=/usr --libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps"
makedepends="skalibs-devel execline-devel"
short_desc="Obarun library"
maintainer="mobinmob <mobinmob@disroot.org>"
license="ISC"
homepage="https://framagit.org/Obarun/oblibs"
distfiles="${homepage}/-/archive/v${version}/${pkgname}-v${version}.tar.bz2"
checksum=e045b837bb3a2ff87cdde5ed1cb40cfac5a84ff8b82e8286b342c0a767581e0d
post_install() {
vlicense COPYING
}
oblibs-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove usr/include/oblibs
vmove "usr/lib/*.so"
}
}