void-packages/srcpkgs/proplib/template

31 lines
797 B
Bash

# Template file for 'proplib'
pkgname=proplib
version=0.6.9
revision=1
wrksrc="portableproplib-${version}"
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://github.com/xtraeme/portableproplib"
distfiles="https://github.com/xtraeme/portableproplib/archive/${version}.tar.gz"
checksum=0104b6f604fde4ecde22c499a2c77f5d323464efbdbfb0a8b551f9931c565079
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
}
}