38 lines
932 B
Bash
38 lines
932 B
Bash
# Template file for 'oniguruma'
|
|
pkgname=oniguruma
|
|
version=6.9.4
|
|
revision=1
|
|
wrksrc="onig-${version}"
|
|
build_style=gnu-configure
|
|
short_desc="Multi-charset regular expressions library"
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/kkos/oniguruma"
|
|
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
|
|
checksum=4669d22ff7e0992a7e93e116161cac9c0949cd8960d1c562982026726f0e6d53
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
oniguruma-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/onig-config
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
oniguruma-doc_package() {
|
|
archs=noarch
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmkdir usr/share/doc/${sourcepkg}
|
|
vcopy "doc/*" usr/share/doc/${sourcepkg}
|
|
}
|
|
}
|