void-packages/srcpkgs/ttyqr/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

27 lines
722 B
Bash

# Template file for 'ttyqr'
pkgname=ttyqr
version=0.0.20151022
revision=1
_githash=56f76586e864c50bd487dc6d2492f7512d32fc3a
wrksrc=${pkgname}-${_githash}
build_style=gnu-makefile
makedepends="qrencode-devel"
short_desc="Draw QR codes straight into the terminal"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/oskar456/ttyqr/"
distfiles="https://github.com/oskar456/ttyqr/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=e1e07dbb74af3a42dcbde475920e8df6b90519c53f9b96476ba7720f76b1291d
pre_build() {
cat > Makefile <<EOF
ttyqr: ttyqr.c
$CC $CFLAGS $LDFLAGS -ggdb -std=c99 -o ttyqr ttyqr.c -lqrencode
EOF
}
do_install() {
vbin ttyqr
vdoc README
}