diff --git a/srcpkgs/ttyqr/template b/srcpkgs/ttyqr/template new file mode 100644 index 0000000000..1601d553b9 --- /dev/null +++ b/srcpkgs/ttyqr/template @@ -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 " +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 <