This commit is contained in:
Thomas Legay 2024-04-13 23:16:05 +02:00
parent 4aa8111f98
commit c72fb8b625
46 changed files with 361 additions and 47 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=2.6.2
VERSION=2.6.9
APP=wallabag
GIT_VERSION=$VERSION
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
@ -12,22 +12,18 @@ PACKAGE_DEPENDENCY="php-common php-xml php-json php-gd php-mbstring php-xml php-
main(){
base_package_upgrade
envinit
configure_depot_yarn
configure_depot_nodejs 20
install_package_dependency
install_composer
get_git_source
build
makedeb
}
envinit() {
configure_depot_yarn
configure_depot_nodejs 18
install_package_dependency
install_composer
}
build() {
cd /tmp/${APP}
COMPOSER_ALLOW_SUPERUSER=1 SYMFONY_ENV=prod php /usr/bin/composer.phar install --no-dev -o --prefer-dist -n --no-scripts
COMPOSER_ALLOW_SUPERUSER=1 SYMFONY_ENV=prod php /usr/bin/composer install --no-dev -o --prefer-dist -n --no-scripts
ENV=PROD make build
}