add tt-rss-plugin-wallabag
This commit is contained in:
parent
cea67adec0
commit
779ffb0c3c
4 changed files with 30 additions and 0 deletions
20
ressources/tt-rss-plugin-wallabag/debmaker
Executable file
20
ressources/tt-rss-plugin-wallabag/debmaker
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=tt-rss-plugin-wallabag
|
||||
VERSION=$(date +%Y%m.%d.%H%M)
|
||||
GIT_VERSION=2.0.0
|
||||
DEB_VERSION=$VERSION
|
||||
DEBIAN_VERSION_CODENAME=bullseye
|
||||
IMAGE_SIZE=1
|
||||
DEPOT=https://github.com/joshp23/ttrss-to-wallabag-v2.git
|
||||
|
||||
STEP="base_package_upgrade get_git_source makedeb"
|
||||
|
||||
makedeb(){
|
||||
PATH_DEB=/tmp/src/rootfs
|
||||
mkdir -p ${PATH_DEB}/usr/share/tt-rss/plugins.local/
|
||||
cp -fr /tmp/${APP}/wallabag_v2 ${PATH_DEB}/usr/share/tt-rss/plugins.local/wallabag_v2
|
||||
|
||||
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
|
||||
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
|
||||
}
|
8
ressources/tt-rss-plugin-wallabag/rootfs/DEBIAN/control
Normal file
8
ressources/tt-rss-plugin-wallabag/rootfs/DEBIAN/control
Normal file
|
@ -0,0 +1,8 @@
|
|||
Package: tt-rss-plugin-wallabag
|
||||
Version: %VERSION%
|
||||
Section: base
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: tt-rss, php-curl
|
||||
Maintainer: Thomas Legay <thomas@lgy.fr>
|
||||
Description: tt-rss-plugin-wallabag
|
2
ressources/tt-rss-plugin-wallabag/rootfs/DEBIAN/postinst
Executable file
2
ressources/tt-rss-plugin-wallabag/rootfs/DEBIAN/postinst
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
chown -R www-data:www-data /var/lib/tt-rss/
|
Loading…
Reference in a new issue