diff --git a/leaf b/leaf index 1094ac9..cda6318 100755 --- a/leaf +++ b/leaf @@ -621,7 +621,7 @@ leaf_prepare_package() { local decl distdir="${DIST_DIR}" - filedir="${PKGBUILD_DIR}/${PKG_PREFIX}/${PKG_NAME}" + filedir="${PKGBUILD_DIR}/${PKG_PREFIX}/${pkgname}" mkdir -pv -- "${distdir}" # choose checksum type (sha512 -> sha256 -> md5)