a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
29 lines
769 B
Bash
29 lines
769 B
Bash
# Template file for 'ck'
|
|
pkgname=ck
|
|
version=0.7.0
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --platform=${XBPS_TARGET_MACHINE%-musl}"
|
|
short_desc="Concurrency Kit C library"
|
|
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://concurrencykit.org/"
|
|
distfiles="https://github.com/concurrencykit/ck/archive/${version}.tar.gz"
|
|
checksum=e730cb448fb0ecf9d19bf4c7efe9efc3c04dd9127311d87d8f91484742b0da24
|
|
patch_args=-Np0
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
ck-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|