roundcubemail update

This commit is contained in:
Thomas Legay 2024-05-21 23:01:52 +02:00
parent 654ff2f496
commit 16bd25d1d7
1 changed files with 10 additions and 3 deletions

View File

@ -1,15 +1,21 @@
#!/bin/bash
VERSION=1.6.4
VERSION=1.6.7
APP=roundcubemail
DEPOT=https://github.com/roundcube/roundcubemail.git
GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bookworm
IMAGE_SIZE=4
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip"
PACKAGE_DEPENDENCY="make curl npm nodejs jq php-xml php-pear php-mbstring unzip php-ldap"
STEP="base_package_upgrade install_package_dependency default_prebuild build makedeb"
main(){
base_package_upgrade
install_package_dependency
get_git_source
build
makedeb
}
build() {
cd /tmp/${APP}
@ -17,6 +23,7 @@ build() {
PATH=$PATH:/tmp/${APP}/node_modules/.bin/
sed 's/GITREMOTE=git/GITREMOTE=https/' Makefile -i
sed "s/git clone --branch=\$(GITBRANCH)/git clone -b ${GIT_VERSION}/" Makefile -i
export COMPOSER_ALLOW_SUPERUSER=1
make
}