Add phpbb
version update
This commit is contained in:
parent
862c0d9ec7
commit
5c12d1fb2a
23 changed files with 115 additions and 5 deletions
26
ressources/phpbb-language-fr/debmaker
Executable file
26
ressources/phpbb-language-fr/debmaker
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=4.8.0
|
||||
APP=phpbb-language-fr
|
||||
DEPOT=https://github.com/qiaeru/phpbb-language-fr.git
|
||||
GIT_VERSION=v$VERSION
|
||||
DEB_VERSION=$VERSION-$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=1
|
||||
|
||||
STEP="base_package_upgrade default_prebuild makedeb"
|
||||
|
||||
build(){
|
||||
cd /tmp/${APP}/phpBB
|
||||
php ../composer.phar install -n
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
PATH_DEB_INSTALL=/tmp/src/rootfs-install
|
||||
|
||||
cp -fr /tmp/${APP}/language ${PATH_DEB}/usr/share/phpbb
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue