mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #4751 from at-visions/sourceless-pkgs-master
scripts/unpack: creates empty build-dir for packages without sources …
This commit is contained in:
@@ -94,6 +94,10 @@ if [ -d "$PKG_DIR/sources" ]; then
|
||||
cp -PRf $PKG_DIR/sources/* $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||
fi
|
||||
|
||||
if [ -z "$PKG_URL" ]; then
|
||||
mkdir -p "${BUILD}/${PKG_NAME}-${PKG_VERSION}"
|
||||
fi
|
||||
|
||||
if [ "$(type -t post_unpack)" = "function" ]; then
|
||||
post_unpack
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user