# Description: Topal is a glue program that links GnuPG and Alpine # URL: https://zircon.org.uk/topal # Maintainer: Erich Eckner, crux at eckner dot net # Depends on: gcc-ada name=topal version=82 release=1 source=() build() { git clone https://dl.green-pike.co.uk/topal.git/ cd topal git checkout rel$version # Remove PDF build stuff sed -i 's/binary topal.pdf/binary/' Makefile # Build Topal and MIME-tool make distclean make -j1 # Install Topal binary, manual page and documentation install -D -m755 "${name}" "${PKG}/usr/bin/${name}" install -D -m644 "${name}.man" "${PKG}/usr/share/man/man1/${name}.1" # Replaced by some PDF stuff which we will not build #install -D -m644 README.txt "${PKG}/usr/share/doc/${PKG}/README" # Install Topal's version of MIME-tool and manual page install -D -m755 MIME-tool/mime-tool "${PKG}/usr/bin/mime-tool" install -D -m644 MIME-tool/mime-tool.man "${PKG}/usr/share/man/man1/mime-tool.1" }