update
This commit is contained in:
parent
3a10b26136
commit
976a7c7078
11 changed files with 54 additions and 19 deletions
23
ressources/tt-rss-plugin-readability/debmaker
Executable file
23
ressources/tt-rss-plugin-readability/debmaker
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=tt-rss-plugin-readability
|
||||
GIT_VERSION=last
|
||||
DEB_VERSION=$(date +%Y%m%d%H%M)
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=1
|
||||
DEPOT=https://dev.tt-rss.org/tt-rss/ttrss-af-readability.git
|
||||
|
||||
main(){
|
||||
base_package_upgrade
|
||||
get_git_source
|
||||
makedeb
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
mkdir -p ${PATH_DEB}/usr/share/tt-rss/plugins/
|
||||
cp -fr /tmp/${APP} ${PATH_DEB}/usr/share/tt-rss/plugins/af_readability
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
Package: tt-rss-plugin-readability
|
||||
Version: %VERSION%
|
||||
Section: contrib
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: tt-rss, php-curl
|
||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||
Description: tt-rss-plugin-readability
|
Loading…
Add table
Add a link
Reference in a new issue