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

pkgname=freshrss-fixednavmenu
_pkgname=FixedNavMenu
pkgver=0.1
pkgrel=0
pkgdesc="Sets the position of the navigation menu to fixed when scrolling down"
url="https://github.com/langfeld/FreshRSS-extensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/langfeld/FreshRSS-extensions"
_gittag="8ae060d5103082485edcf20c4ac0308508461492"
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/FreshRSS-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="
c809df7970eacbe8c421a3d6dc8b08aee1faca7f6aca204f00a4a3be63b53a926971091153fce5b080afc15364fdb3dd6309b11e7f6da59151b87516024fbce7  freshrss-fixednavmenu-8ae060d5103082485edcf20c4ac0308508461492.tar.gz
"
