2021-06-04 15:24:22 +00:00
|
|
|
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
|
|
|
pkgname=freshrss-threepanesview
|
2022-07-29 15:01:12 +00:00
|
|
|
pkgver=1.11
|
2021-06-04 15:24:22 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Adds a third vertical pane along the articles list, to display the articles content"
|
|
|
|
url="https://framagit.org/nicofrand/xextension-threepanesview"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
|
|
|
depends="freshrss"
|
|
|
|
makedepends="git"
|
2022-07-29 15:01:12 +00:00
|
|
|
_gittag=d61fa8c94693b971198bead74b367dabc4bdda5b
|
|
|
|
source="https://framagit.org/nicofrand/xextension-threepanesview/-/archive/$_gittag/xextension-threepanesview-$_gittag.tar.gz"
|
2021-06-04 15:24:22 +00:00
|
|
|
_giturl="https://framagit.org/nicofrand/xextension-threepanesview"
|
2022-07-29 15:01:12 +00:00
|
|
|
builddir="$srcdir/xextension-threepanesview-$_gittag"
|
2021-06-04 15:24:22 +00:00
|
|
|
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() {
|
|
|
|
mkdir -p "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-ThreePanesView"
|
2022-07-29 15:01:12 +00:00
|
|
|
cp -R "$builddir" "${pkgdir}/usr/share/webapps/freshrss/extensions/xExtension-ThreePanesView"
|
2021-06-04 15:24:22 +00:00
|
|
|
}
|
|
|
|
|
2022-07-29 15:01:12 +00:00
|
|
|
sha512sums="
|
|
|
|
2a0f9765670d499a0be7b38b2323b9abab20cc9f026259dd6b4fd3f7ae0366e70d9d95b2f38148093a4a1f7cfb10b03195e8fd857d3e28b908b6cbadcffb8b70 xextension-threepanesview-d61fa8c94693b971198bead74b367dabc4bdda5b.tar.gz
|
|
|
|
"
|