29 lines
770 B
Bash
29 lines
770 B
Bash
|
# Template file for 'reflex'
|
||
|
pkgname=reflex
|
||
|
version=20210808
|
||
|
revision=1
|
||
|
_date=${version##*.}
|
||
|
wrksrc="${pkgname}-${_date}"
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="byacc"
|
||
|
depends="byacc librefl-devel-${version}_${revision}"
|
||
|
short_desc="Relocalizable fast lexical scanner"
|
||
|
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
|
||
|
license="BSD-3-Clause"
|
||
|
homepage="https://invisible-island.net/reflex/"
|
||
|
changelog="https://invisible-island.net/reflex/NEWS"
|
||
|
distfiles="https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${_date}.tgz"
|
||
|
checksum=6b30a09557776cbc7435d974e5cfc50cb6c63da804f3ae2b4065466da0581c21
|
||
|
|
||
|
post_install() {
|
||
|
vlicense COPYING
|
||
|
}
|
||
|
|
||
|
librefl-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove "usr/lib/*.a"
|
||
|
}
|
||
|
}
|