# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>

pkgname=freshrss-threepanesview
_pkgname=ThreePanesView
pkgver=1.11
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"
_giturl="https://framagit.org/nicofrand/xextension-threepanesview"
_gittag="d61fa8c94693b971198bead74b367dabc4bdda5b"
source="$pkgname-$_gittag.tar.gz::$_giturl/-/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"
pkgusers="freshrss"
pkggroups="www-data"

package() {
	local appdir="/usr/share/webapps/${pkgname%%-*}/extensions"
	install -d "$pkgdir"/$appdir
	cp -R "$builddir"/xextension-threepanesview-$_gittag "$pkgdir"/$appdir/xExtension-$_pkgname
}

sha512sums="
2a0f9765670d499a0be7b38b2323b9abab20cc9f026259dd6b4fd3f7ae0366e70d9d95b2f38148093a4a1f7cfb10b03195e8fd857d3e28b908b6cbadcffb8b70  freshrss-threepanesview-d61fa8c94693b971198bead74b367dabc4bdda5b.tar.gz
"
