Add phpbb

version update
This commit is contained in:
thomas 2022-09-15 01:04:23 +02:00
parent 862c0d9ec7
commit 5c12d1fb2a
23 changed files with 115 additions and 5 deletions

View 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
}

View file

@ -0,0 +1,7 @@
Package: phpbb-language-fr
Version: %VERSION%
Section: base
Priority: optional
Architecture: all
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: phpbb language pack fr