pkgname=bc version=1.08.2 build_no=1 upstream="${MIRROR_GNU_FTP}/bc/bc-${version}.tar.gz" makedepends=(autoconf) function do_configure { mkdir build/ cd build/ conf_flags=( --prefix=/usr ) PERL=/usr/bin/perl ../configure "${conf_flags[@]}" } function do_build { cd build/ make -j$(nproc) } function do_install { cd build/ make DESTDIR=${DESTDIR} install }