New method

This commit is contained in:
thomas 2022-08-17 20:35:16 +02:00
parent 590209a9ba
commit 8da4693b9f
28 changed files with 111 additions and 330 deletions

View file

@ -1,23 +1,15 @@
#!/bin/bash
VERSION=1.6.0
[ -e ./lib/function.sh ] && source ./lib/function.sh
APP=roundcubemail
DEPOT=https://github.com/roundcube/roundcubemail.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"
STEP="minimum_package envinit default_prebuild build makedeb"
envinit() {
apt-get update
apt-get dist-upgrade -y
apt-get install -y --no-install-recommends make curl npm nodejs jq php-xml php-pear php-mbstring unzip
}
STEP="base_package_upgrade install_package_dependency default_prebuild build makedeb"
build() {
cd /tmp/${APP}