Update repo

This commit is contained in:
termux-pacman-bot
2022-07-22 15:11:21 +00:00
parent 67f065404a
commit 6ab11a2d15
4 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
#!/usr/bin/bash
termux_download() {
if [ $# != 3 ]; then
termux_error_exit "termux_download(): Invalid arguments - expected \$URL \$DESTINATION \$CHECKSUM"

View File

@@ -1,3 +1,5 @@
#!/usr/bin/bash
termux_download_deb_pac() {
local PACKAGE=$1
local PACKAGE_ARCH=$2

View File

@@ -1,3 +1,5 @@
#!/usr/bin/bash
termux_extract_dep_info() {
PKG=$1
PKG_DIR=$2

View File

@@ -69,8 +69,10 @@ termux_step_massage() {
# Check so files were actually installed. Exclude
# share/doc/$TERMUX_PKG_NAME/ as a license file is always
# installed there.
if [ "$(find . -type f -not -path "./share/doc/$TERMUX_PKG_NAME/*")" = "" ]; then
termux_error_exit "No files in package. Maybe you need to run autoreconf -fi before configuring?"
if [ "$(find . -type f -not -path "./share/doc/$TERMUX_PKG_NAME/*")" = "" ] && [ -f "$TERMUX_PKG_SRCDIR"/configure.ac ] || [ -f "$TERMUX_PKG_SRCDIR"/configure.in ]; then
termux_error_exit "No files in package. Maybe you need to run autoreconf -fi before configuring."
elif [ "$(find . -type f -not -path "./share/doc/$TERMUX_PKG_NAME/*")" = "" ]; then
termux_error_exit "No files in package."
fi
local HARDLINKS