if [[ $pkgver == '2.6.0' ]]; then source+=('https://github.com/Yubico/yubico-piv-tool/commit/653ce43556535504d7901a897ef5e96557b374af.patch') sha256sums+=('e32c56be6d322767ea7a6c952c5ad897897887a06ce55e498a2bca9e868f1bed') prepare() { cd "${pkgname}-${pkgver}" patch -p1 -i ../653ce43556535504d7901a897ef5e96557b374af.patch cd - } fi