void-packages/srcpkgs/oblibs/template

28 lines
806 B
Bash

# Template file for 'oblibs'
pkgname=oblibs
version=0.1.4.0
revision=3
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="https://framagit.org/Obarun/oblibs/-/archive/v${version}/${pkgname}-v${version}.tar.bz2"
checksum=0ebb6024b9b2c737b0e065e2d49a98965db116c04caff4289acde332316b781a
post_install() {
vlicense LICENSE
}
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"
}
}