_t=yes pkgname=ttf-mplus-cvs pkgver=999 pkgrel=1 pkgdesc="aur issue test" arch=('i686' 'x86_64') url="http://foo.bar.com" license=('custom') depends=('p7zip') _test=(a b c) source=("http://foo.bar.com/${_test[0]}.7z" "http://foo.bar.com/${_test[1]}.7z" "http://foo.bar.com/${_test[2]}.7z" ) md5sums=('59596ba212c050a523c11d1b6f5c92b1' 'a62247b9998e55681792ede303474479' '5c58e94c0dce9371acef728717e3c723') if [[ $_t = yes ]]; then _test=(${_test[@]} d) source=(${source[@]} "http://foo.bar.com/${_test[3]}.7z") # md5sums=(${md5sums[@]} 'f42873c11f2ef39e41d85220f3de6abe') md5sums=('59596ba212c050a523c11d1b6f5c92b1' 'a62247b9998e55681792ede303474479' '5c58e94c0dce9371acef728717e3c723' 'f42873c11f2ef39e41d85220f3de6abe') fi build() { echo "source:" echo ${source[@]} echo "md5sums:" echo ${md5sums[@]} cd ${srcdir} }