void-packages/srcpkgs/skalibs/template
2020-03-04 08:12:19 +01:00

44 lines
1.2 KiB
Bash

# Template file for 'skalibs'
pkgname=skalibs
version=2.9.2.0
revision=1
_sysdepspkg=skaware-void-sysdeps
build_style=configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared
--enable-force-devr
--datadir=/usr/share/$pkgname --libdir=/usr/lib
--bindir=/usr/bin --dynlibdir=/usr/lib
--with-sysdep-devurandom=yes"
short_desc="General purpose libraries for building software from skarnet.org"
maintainer="bougyman <bougyman@voidlinux.org>"
license="ISC"
homepage="https://skarnet.org/software/skalibs/"
changelog="https://skarnet.org/software/skalibs/upgrade.html"
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=e4c36e91ddb8f94f7bb61479bb3a5fbdaa423772ba7583151a03ce30003f2dc5
post_install() {
vlicense COPYING LICENSE
}
skalibs-doc_package() {
archs=noarch
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmkdir usr/share/doc/skalibs
vcopy "doc/*" usr/share/doc/skalibs
}
}
skalibs-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/skalibs/sysdeps
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}