Open notramo opened 4 years ago
I have personal cfdg package. I suck at C/CPP, so I don't feel like maintain it officially. Tested only on x86_64 glibc
# Template file for 'cfdg'
pkgname=cfdg
version=3.3
revision=1
wrksrc=context-free-Version${version}
build_style=gnu-makefile
make_install_args="PREFIX=/usr DESTDIR=${DESTDIR}"
hostmakedepends="flex bison"
makedepends="icu-devel libpng-devel libatomic-devel"
short_desc="Context Free is a program that generates images from grammar"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/MtnViewJohn/context-free"
distfiles="https://github.com/MtnViewJohn/context-free/archive/Version${version}.tar.gz"
checksum=c34a7e49850420751c74a2d02ef921cb0beb6a9f7d895633a0ebc0ed5b241033
do_build() {
make -j $(nproc)
}
post_install() {
rm -rf ${DESTDIR}/usr/local
vbin ${wrksrc}/cfdg
vman ${wrksrc}/cfdg.1
}
https://github.com/MtnViewJohn/context-free