New package: ttyqr-0.0.20151022
Closes: #639 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
70e969d409
commit
0345492fbc
1 changed files with 26 additions and 0 deletions
26
srcpkgs/ttyqr/template
Normal file
26
srcpkgs/ttyqr/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# 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="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
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
|
||||
}
|
Loading…
Reference in a new issue