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

pkgname=freshrss-readingtime
_pkgname=QuickCollapse
pkgver=0.1
pkgrel=0
pkgdesc="Quickly change from folded to unfolded articles"
url="https://github.com/FreshRSS/Extensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/FreshRSS/Extensions"
_gittag="ad61438c3d26f312d85c7d9da2668c8816996939"
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/Extensions-$_gittag
pkgusers="freshrss"
pkggroups="www-data"

package() {
	local appdir="/usr/share/webapps/${pkgname%%-*}/extensions"
	install -d "$pkgdir"/$appdir
	cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir
}
sha512sums="
3b699098906a522599b06c6400d2ada2097c087a08ed1d1264b672c023c0766b76a832d903d92bfaa37738ad39578bb2b1f327b08d4626ea9bcbdb69528bb97f  freshrss-readingtime-ad61438c3d26f312d85c7d9da2668c8816996939.tar.gz
"
