void-packages/srcpkgs/proplib/template

30 lines
791 B
Bash

# Template file for 'proplib'
pkgname=proplib
version=0.6.10
revision=1
build_style=gnu-makefile
make_use_env=yes
makedepends="zlib-devel"
short_desc="Portable Property container object library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD-2-Clause"
homepage="https://gitlab.com/xtraeme/portableproplib"
distfiles="https://gitlab.com/xtraeme/portableproplib/-/archive/${version}/portableproplib-${version}.tar.gz"
checksum=e8fa7dbec90815a83d14c326286ee55196a9fe5b3192478671e58e7185db33dc
post_install() {
vlicense COPYING
}
proplib-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}