Added freshrss-auto-refresh-1.0-1
Added freshrss-imageproxy-0.4-0 Added freshrss-readingtime-1.0-0
This commit is contained in:
parent
5016521307
commit
7791d981d1
3 changed files with 100 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
||||
pkgname=freshrss-auto-refresh
|
||||
pkgver=1.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Automatically refreshes FreshRSS page once in a minute when there is no activity detected."
|
||||
url="https://github.com/ayakael/dam"
|
||||
url="https://github.com/Eisa01/FreshRSS---Auto-Refresh-Extension"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="freshrss wallabag"
|
||||
depends="freshrss"
|
||||
makedepends="git"
|
||||
source="$pkgname-$pkgver.tar.gz"
|
||||
_giturl="https://github.com/Eisa01/FreshRSS---Auto-Refresh-Extension"
|
||||
|
|
50
apk/freshrss-imageproxy/APKBUILD
Normal file
50
apk/freshrss-imageproxy/APKBUILD
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
||||
pkgname=freshrss-imageproxy
|
||||
pkgver=0.4
|
||||
pkgrel=0
|
||||
pkgdesc="https://github.com/FreshRSS/Extensions/tree/master/xExtension-ImageProxy"
|
||||
url="https://github.com/ayakael/dam"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-only"
|
||||
depends="freshrss"
|
||||
makedepends="git"
|
||||
source="$pkgname-$pkgver.tar.gz"
|
||||
_giturl="https://github.com/FreshRSS/Extensions"
|
||||
_gittag="master"
|
||||
builddir="$srcdir"
|
||||
options="!check"
|
||||
|
||||
snapshot() {
|
||||
mkdir -p "$srcdir"
|
||||
cd "${SRCDEST:-$srcdir}"
|
||||
if ! [ -d $pkgname.git ]; then
|
||||
git clone $_giturl $pkgname.git || return 1
|
||||
cd $pkgname.git
|
||||
else
|
||||
cd $pkgname.git
|
||||
git fetch || return 1
|
||||
fi
|
||||
|
||||
echo "Checking out"
|
||||
git checkout $_gittag
|
||||
echo "Repo archive"
|
||||
git archive --prefix="$pkgname/" -o ${pkgname}-${pkgver}.tar --format "tar" $_gittag
|
||||
|
||||
|
||||
gzip ${pkgname}-${pkgver}.tar -c > "$SRCDEST"/$pkgname-$pkgver.tar.gz
|
||||
ln -s "$SRCDEST"/$pkgname-$pkgver.tar.gz "$startdir"/$pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions"
|
||||
cp -R "${pkgname}/xExtension-ImageProxy" "${pkgdir}/usr/share/webapps/freshrss/extensions/"
|
||||
}
|
||||
|
||||
|
||||
sha512sums="8aed100d05782a2ffd19d95fcec884ca24e323a65a06b8ba4ee0207a08f18d4148c2cd8c1cdde65aeac7f7e2d9483f06e6b13852da4eb8e95436d10f524985b0 freshrss-imageproxy-0.4.tar.gz"
|
||||
|
47
apk/freshrss-readingtime/APKBUILD
Normal file
47
apk/freshrss-readingtime/APKBUILD
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
||||
pkgname=freshrss-readingtime
|
||||
pkgver=1.0
|
||||
pkgrel=0
|
||||
pkgdesc="Add a reading time estimation next to each article."
|
||||
url="https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="freshrss"
|
||||
makedepends="git"
|
||||
source="$pkgname-$pkgver.tar.gz"
|
||||
_giturl="https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime"
|
||||
_gittag="master"
|
||||
builddir="$srcdir"
|
||||
options="!check"
|
||||
|
||||
snapshot() {
|
||||
mkdir -p "$srcdir"
|
||||
cd "${SRCDEST:-$srcdir}"
|
||||
if ! [ -d $pkgname.git ]; then
|
||||
git clone $_giturl $pkgname.git || return 1
|
||||
cd $pkgname.git
|
||||
else
|
||||
cd $pkgname.git
|
||||
git fetch || return 1
|
||||
fi
|
||||
|
||||
echo "Checking out"
|
||||
git checkout $_gittag
|
||||
echo "Repo archive"
|
||||
git archive --prefix="$pkgname/" -o ${pkgname}-${pkgver}.tar --format "tar" $_gittag
|
||||
|
||||
|
||||
gzip ${pkgname}-${pkgver}.tar -c > "$SRCDEST"/$pkgname-$pkgver.tar.gz
|
||||
ln -s "$SRCDEST"/$pkgname-$pkgver.tar.gz "$startdir"/$pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
return 0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions"
|
||||
cp -R "${pkgname}" "${pkgdir}/usr/share/webapps/freshrss/extensions/"
|
||||
}
|
||||
sha512sums="d06345aaaf47fd56f3a671fb794d5979a0591b376b215a14d58a83f0a4eff14ec2e43032147d063b46cbad57879449be1c318ff4157fffeb539a75fd08b73d02 freshrss-readingtime-1.0.tar.gz"
|
Loading…
Reference in a new issue