New package: cdecl-2.5
This commit is contained in:
parent
555b83bf8c
commit
5ffff298a5
2 changed files with 29 additions and 0 deletions
28
srcpkgs/cdecl/template
Normal file
28
srcpkgs/cdecl/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'cdecl'
|
||||
pkgname=cdecl
|
||||
version=2.5
|
||||
revision=1
|
||||
wrksrc=${pkgname}-blocks-${version}
|
||||
build_style=gnu-makefile
|
||||
make_build_args="LIBS=-lreadline"
|
||||
hostmakedepends="flex"
|
||||
makedepends="readline-devel"
|
||||
short_desc="Compose C and C++ type declarations"
|
||||
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="http://${pkgname}.org/"
|
||||
distfiles="${homepage}files/${wrksrc}.tar.gz"
|
||||
checksum=9ee6402be7e4f5bb5e6ee60c6b9ea3862935bf070e6cecd0ab0842305406f3ac
|
||||
CFLAGS="-DUSE_READLINE"
|
||||
|
||||
pre_build() {
|
||||
flex -l -o cdlex.c cdlex.l
|
||||
sed -i 's/getline/cdgetline/' cdecl.c
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin c++decl
|
||||
vbin cdecl
|
||||
vman cdecl.1
|
||||
vman c++decl.1
|
||||
}
|
1
srcpkgs/cdecl/update
Normal file
1
srcpkgs/cdecl/update
Normal file
|
@ -0,0 +1 @@
|
|||
pattern="${pkgname}-blocks-\K[\d.]+(?=\.tar\.gz)"
|
Loading…
Reference in a new issue